I had to disable the system monit.service and create a custom one in
order to work around this bug.

# cat /etc/systemd/system/monit-local.service
[Unit]
Description=Pro-active monitoring utility for unix systems
After=network-online.target
Documentation=man:monit(1) https://mmonit.com/wiki/Monit/HowTo

[Service]
Type=simple
KillMode=mixed
ExecStart=/usr/bin/monit -I
ExecStop=/usr/bin/monit quit
ExecReload=/usr/bin/monit reload
Restart=on-failure

[Install]
WantedBy=multi-user.target

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2072681

Title:
  The monit daemon fails when attempting to start under systemd

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/monit/+bug/2072681/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to