aboutsummaryrefslogtreecommitdiff
path: root/naemon/naemon.service
diff options
context:
space:
mode:
Diffstat (limited to 'naemon/naemon.service')
-rw-r--r--naemon/naemon.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/naemon/naemon.service b/naemon/naemon.service
new file mode 100644
index 0000000..0c3a0da
--- /dev/null
+++ b/naemon/naemon.service
@@ -0,0 +1,18 @@
1[Unit]
2Description=Naemon Monitoring Daemon
3Documentation=http://naemon.org/documentation
4After=network.target
5
6[Service]
7Type=forking
8PIDFile=/run/naemon/naemon.pid
9ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg
10ExecStart=/usr/bin/naemon --daemon /etc/naemon/naemon.cfg
11ExecReload=/bin/kill -HUP $MAINPID
12User=naemon
13Group=naemon
14StandardOutput=journal
15StandardError=inherit
16
17[Install]
18WantedBy=multi-user.target