Skip to content

Instantly share code, notes, and snippets.

@jgeiger
Created August 11, 2014 04:50
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgeiger/2680d98557b6f84f8154 to your computer and use it in GitHub Desktop.
Save jgeiger/2680d98557b6f84f8154 to your computer and use it in GitHub Desktop.
Monit upstart script
description "Monit service manager"
limit core unlimited unlimited
start on runlevel [2345]
stop on runlevel [!2345]
expect daemon
respawn
exec /usr/local/bin/monit -c /etc/monitrc
pre-stop exec /usr/local/bin/monit -c /etc/monitrc quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment