summaryrefslogtreecommitdiff
path: root/src/systemd/opennhrp.service
blob: c9a44de2936c1e92e2d5b2c6453a5e322e44cae2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=OpenNHRP
After=vyos-router.service
ConditionPathExists=/run/opennhrp/opennhrp.conf
StartLimitIntervalSec=0

[Service]
Type=forking
ExecStart=/usr/sbin/opennhrp -d -v -a /run/opennhrp.socket -c /run/opennhrp/opennhrp.conf -s /etc/opennhrp/opennhrp-script.py -p /run/opennhrp/opennhrp.pid
ExecReload=/usr/bin/kill -HUP $MAINPID
PIDFile=/run/opennhrp/opennhrp.pid
Restart=on-failure
RestartSec=20