Skip to content

Instantly share code, notes, and snippets.

@jgeiger
Created August 24, 2014 21:01
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/c295a6388e58b11946b3 to your computer and use it in GitHub Desktop.
Save jgeiger/c295a6388e58b11946b3 to your computer and use it in GitHub Desktop.
M/Monit config file
# This is an upstart script to keep mmonit running.
# Put this script here:
#
# /etc/init/mmonit.conf
#
# and reload upstart configuration:
#
# initctl reload-configuration
#
# You can manually start and stop monit like this:
#
# start mmonit
# stop mmonit
#
description "M/Monit system monitoring"
limit core unlimited unlimited
start on runlevel [2345]
stop on runlevel [!2345]
expect daemon
respawn
exec /opt/mmonit/bin/mmonit
pre-stop exec /opt/mmonit/bin/mmonit stop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment