Skip to content

Instantly share code, notes, and snippets.

Created August 11, 2014 04:50
What would you like to do?
Monit upstart script
description "Monit service manager"
limit core unlimited unlimited
start on runlevel [2345]
stop on runlevel [!2345]
expect daemon
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