aboutsummaryrefslogtreecommitdiff
path: root/naemon.service
blob: 6b3edc8a235fcf0622ed53e8ad23c4eff58510a5 (plain) (blame)
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=simple
PIDFile=/run/naemon.pid
ExecStartPre=/usr/bin/naemon -vp /etc/naemon/naemon.cfg
ExecStart=/usr/bin/naemon /etc/naemon/naemon.cfg
ExecReload=/bin/kill -HUP $MAINPID
User=naemon
Group=naemon
StandardOutput=journal
StandardError=inherit

[Install]
WantedBy=multi-user.target