Created
August 24, 2014 21:01
-
-
Save jgeiger/c295a6388e58b11946b3 to your computer and use it in GitHub Desktop.
M/Monit config file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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