summaryrefslogtreecommitdiff
path: root/pcr/nagios/nagios.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/nagios/nagios.service')
-rw-r--r--pcr/nagios/nagios.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr/nagios/nagios.service b/pcr/nagios/nagios.service
new file mode 100644
index 000000000..69d656401
--- /dev/null
+++ b/pcr/nagios/nagios.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Nagios Monitoring System
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/nagios /etc/nagios/nagios.cfg
+ExecReload=/bin/kill -HUP $MAINPID
+KillMode=process
+
+[Install]
+WantedBy=multi-user.target