2019-04-18 17:09:18 +02:00
|
|
|
[Unit]
|
2019-08-03 18:28:19 +02:00
|
|
|
Description=Nagios Core 4.4.4
|
2019-04-18 17:09:18 +02:00
|
|
|
Documentation=https://www.nagios.org/documentation
|
|
|
|
After=network.target local-fs.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
ExecStartPre=@bindir@/nagios -v @sysconfdir@/nagios.cfg
|
|
|
|
ExecStart=@bindir@/nagios -d @sysconfdir@/nagios.cfg
|
|
|
|
ExecStop=@BIN_KILL@ -s TERM ${MAINPID}
|
|
|
|
ExecStopPost=@BIN_RM@ -f @localstatedir@/rw/nagios.cmd
|
|
|
|
ExecReload=@BIN_KILL@ -s HUP ${MAINPID}
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|