blob: 3cbbc9038ba64d83291828c8fb6be2de10b66a95 [file] [log] [blame] [edit]
# This file is a systemd template for the monit service. To
# register monit with systemd, place this file in
# /lib/systemd/system/ and start monit using systemctl:
#
# Enable monit to start on boot:
# systemctl enable monit.service
#
# Start monit immediately:
# systemctl start monit.service
#
# Stop monit:
# systemctl stop monit.service
#
# Status:
# systemctl status monit.service
[Unit]
Description=Pro-active monitoring utility for unix systems
After=network.target
[Service]
Type=simple
ExecStart=@prefix@/bin/monit -I
ExecStop=@prefix@/bin/monit quit
ExecReload=@prefix@/bin/monit reload
[Install]
WantedBy=multi-user.target