Last active
August 29, 2015 14:23
-
-
Save suz-lab/3c504975916921b45fca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
check process sleep with pidfile /var/run/sleep.pid | |
start program "/etc/init.d/sleep start" with timeout 60 seconds | |
stop program "/etc/init.d/sleep stop" | |
if 5 restarts within 5 cycles then unmonitor |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment