Page 1 of 1

Debian Autorestart Server Script

Posted: Fri Sep 26, 2014 2:58 pm
by Blackstorm
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 :

Code: Select all

crontab -e
*/5 * * * * /vgoemudev/vgoemu_autorestart
that will check every 5min if your server is up.