summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-08-21 08:24:48 +0200
committerChristian Poessinger <christian@poessinger.com>2021-08-21 08:52:43 +0200
commitb0d9eb23747c94bd99bffaad1827f8a234cadb8b (patch)
treef4c023186abcb6c1e858a7a33e32917de78a45ce /src/systemd
parent9fa00d537c5d7d0a5109907bba7d1825ef245ed1 (diff)
downloadvyos-1x-b0d9eb23747c94bd99bffaad1827f8a234cadb8b.tar.gz
vyos-1x-b0d9eb23747c94bd99bffaad1827f8a234cadb8b.zip
nhrp: T3599: move PID file to /run/opennhrp
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/opennhrp.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemd/opennhrp.service b/src/systemd/opennhrp.service
index 70235f89d..c9a44de29 100644
--- a/src/systemd/opennhrp.service
+++ b/src/systemd/opennhrp.service
@@ -6,8 +6,8 @@ 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.pid
+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.pid
+PIDFile=/run/opennhrp/opennhrp.pid
Restart=on-failure
RestartSec=20