[Unit] Description=Nagios Core 4.4.3 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