Debian Autorestart Server Script
Posted: Fri Sep 26, 2014 2:58 pm
A little script for Debian to check if your server is up (using the Debian Init Script) and if not this script restart it automatically.
Usage :
add in your crontab like this :
that will check every 5min if your server is up.
Usage :
add in your crontab like this :
Code: Select all
crontab -e
*/5 * * * * /vgoemudev/vgoemu_autorestart