This unit is provided by:
Options
-
[Install]
-
[Service]
-
EnvironmentFile=/etc/sysconfig/nagios
-
ExecReload=/usr/sbin/nagios -v /etc/nagios/nagios.cfg /bin/kill -HUP $MAINPID /usr/lib/nagios/nagios-exec-start-post
-
ExecReload=/usr/sbin/nagios -v /etc/nagios/nagios.cfg /usr/bin/kill -s HUP ${MAINPID}
-
ExecStart=/usr/bin/nagios /etc/nagios.cfg
-
ExecStart=/usr/sbin/nagios -d /etc/nagios/nagios.cfg
-
ExecStart=/usr/sbin/nagios /etc/nagios/nagios.cfg
-
ExecStartPost=/usr/lib/nagios/nagios-exec-start-post
-
ExecStartPre=/usr/lib/nagios/nagios-exec-start-pre /usr/sbin/nagios -v /etc/nagios/nagios.cfg
-
ExecStartPre=/usr/sbin/nagios -v /etc/nagios/nagios.cfg
-
ExecStop=/usr/bin/kill -s TERM ${MAINPID}
-
ExecStopPost=/usr/bin/rm -f /var/spool/nagios/cmd/nagios.cmd
-
Group=nagios
-
LogsDirectory=nagios
-
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=full -
Restart=always
-
RestartSec=2
-
RestrictRealtime
Introduced in systemd 231=yes -
StateDirectory=nagios
-
Type=forking
-
User=nagios
-
-
[Unit]
-
After=network.target
-
After=network.target local-fs.target
-
After=syslog.target network.target
-
Description=Nagios Core 4.4.9
-
Description=Nagios monitoring daemon
-
Description=Network Monitor Nagios
-
Documentation=https://www.nagios.org/documentation
-
Additionnal notes
Nothing here.