Debian Autorestart Server Script
Moderator: Community Managers
- Blackstorm
- Retired
- Posts: 354
- Joined: Thu Sep 04, 2014 11:11 am
- Location: Paris, FRANCE
- Contact:
Debian Autorestart Server Script
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
- Attachments
-
- vgoemu_autorestart.zip
- Debian_vgoemu_autorestart_script_v1
- (261 Bytes) Downloaded 217 times