Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 504148

Summary: app-admin/monit - add systemd service unit
Product: Gentoo Linux Reporter: Michael Hampicke <mh>
Component: [OLD] ServerAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal CC: mh, systemd
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 448882    

Description Michael Hampicke 2014-03-10 22:42:13 UTC
Hello, monit is missing a systemd service unit file. I use this:

[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

[Install]
WantedBy=multi-user.target

Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2014-03-30 13:28:01 UTC
+*monit-5.7-r1 (30 Mar 2014)
+
+  30 Mar 2014; Pacho Ramos <pacho@gentoo.org> +files/monit.service,
+  +monit-5.7-r1.ebuild:
+  Add unit file (#504148 by Michael Hampicke)
+