Guest User

Untitled

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