Last active
October 4, 2017 15:34
-
-
Save gregblass/8036e95945fc8f6bc196fb1b7a1f9ce4 to your computer and use it in GitHub Desktop.
This file contains 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
# https://mmonit.com/wiki/Monit/Systemd | |
# Automatically start Monit when system boots | |
# File goes in: /lib/systemd/system/ | |
[Unit] | |
Description=Pro-active monitoring utility for unix systems | |
After=network.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/monit -I | |
ExecStop=/usr/bin/monit quit | |
ExecReload=/usr/bin/monit reload | |
User=deploy | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment