summarylogtreecommitdiffstats
path: root/naemon.service
blob: 0c3a0da4334dbb0b167571310a5712ddea8e63c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Naemon Monitoring Daemon
Documentation=http://naemon.org/documentation
After=network.target

[Service]
Type=forking
PIDFile=/run/naemon/naemon.pid
ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg
ExecStart=/usr/bin/naemon --daemon /etc/naemon/naemon.cfg
ExecReload=/bin/kill -HUP $MAINPID
User=naemon
Group=naemon
StandardOutput=journal
StandardError=inherit

[Install]
WantedBy=multi-user.target