diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-06 11:01:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-06 11:01:26 +0200 |
commit | f9c142bab451034cf8e119bb20b3f0ca7e1a6bcc (patch) | |
tree | a85d530f367975e7c93d0c57332045bcef704bd1 /src/systemd/opennhrp.service | |
parent | c1a450a72aa9a353033a542dfd76bbd88b9fcac4 (diff) | |
parent | 68e5ca6b56b2b988a0cd9df5b860eab082b3d879 (diff) | |
download | vyos-1x-f9c142bab451034cf8e119bb20b3f0ca7e1a6bcc.tar.gz vyos-1x-f9c142bab451034cf8e119bb20b3f0ca7e1a6bcc.zip |
Merge pull request #865 from sarthurdev/current
nhrp: T3599: Migrate NHRP to XML/Python
Diffstat (limited to 'src/systemd/opennhrp.service')
-rw-r--r-- | src/systemd/opennhrp.service | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/systemd/opennhrp.service b/src/systemd/opennhrp.service new file mode 100644 index 000000000..70235f89d --- /dev/null +++ b/src/systemd/opennhrp.service @@ -0,0 +1,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.pid +ExecReload=/usr/bin/kill -HUP $MAINPID +PIDFile=/run/opennhrp.pid +Restart=on-failure +RestartSec=20 |