Skip to content

Instantly share code, notes, and snippets.

@kuleszaj
Created November 24, 2010 20:23
Show Gist options
  • Save kuleszaj/714334 to your computer and use it in GitHub Desktop.
Save kuleszaj/714334 to your computer and use it in GitHub Desktop.
Sample configuration code to monitor Apache with Monit.
check process apache with pidfile "/var/run/httpd.pid"
start program = "/etc/init.d/httpd start"
stop program = "/etc/init.d/httpd stop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment