How to start a script if not already running? - Raspberry Pi Forums


hello! new raspbian , raspberry pi , have made own minecraft server it. i'm wondering how can run start script (/home/pi/server/files/start.sh) every 10 minutes if it's not running. server prone crashes, , i'm not here time restart it. don't want 20 versions of server running 8 plugins each , fighting same port. there way this?

thanks!!

one way achieve create new script runs start.sh script in loop. way every time stops, restarted. can put sleep in loop give time cleaned up.


raspberrypi



Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support