Skip to content

Instantly share code, notes, and snippets.

@afquinterog
Created July 24, 2017 21:22
Show Gist options
  • Save afquinterog/83d1f92e28511fe92864e02a53350fb8 to your computer and use it in GitHub Desktop.
Save afquinterog/83d1f92e28511fe92864e02a53350fb8 to your computer and use it in GitHub Desktop.
Monitor apache monit file
check process apache with pidfile /run/apache2.pid
start program = "/etc/init.d/apache2 start" with timeout 60 seconds
stop program = "/etc/init.d/apache2 stop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment