Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- check program apache2 with path "/bin/bash -c '[ $(/bin/ps auxwww | /bin/grep apache | /bin/grep -v grep | /usr/bin/wc -l) -gt 2 ]'"
- start program = "/etc/init.d/apache2 start"
- stop program = "/etc/init.d/apache2 stop"
- restart program = "/etc/init.d/apache2 restart"
- if status != 0 then restart
Add Comment
Please, Sign In to add comment