Skip to content

Instantly share code, notes, and snippets.

@ehlertij
Created June 8, 2012 18:43
Show Gist options
  • Save ehlertij/2897527 to your computer and use it in GitHub Desktop.
Save ehlertij/2897527 to your computer and use it in GitHub Desktop.
emproxy monitrc
# /etc/monit.d/emproxy.monitrc
check process emproxy_ngin
with pidfile /var/run/emproxy_ngin.pid
start program = "/data/ngin/shared/bin/emproxy ngin start" with timeout 30 seconds
stop program = "/data/ngin/shared/bin/emproxy ngin stop" with timeout 30 seconds
group emproxy_ngin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment