summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-24 09:44:24 +0100
committerGitHub <noreply@github.com>2021-01-24 09:44:24 +0100
commit1afd7568adb6e5c8823a533c4c20892177584959 (patch)
tree76abbc073fb8b3381b41f5598aa70cb30a66dfe9 /src/systemd
parent6baf79a72cac9e6624d56b140511c32fad2cfbaa (diff)
parente5388766529756a0d1ec58f0ecfad456ce28c96c (diff)
downloadvyos-1x-1afd7568adb6e5c8823a533c4c20892177584959.tar.gz
vyos-1x-1afd7568adb6e5c8823a533c4c20892177584959.zip
Merge pull request #520 from jack9603301/nptv6
nptv6: T2518: Initial support for nat66 (NPT)
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/ndppd.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/systemd/ndppd.service b/src/systemd/ndppd.service
new file mode 100644
index 000000000..5790d37f1
--- /dev/null
+++ b/src/systemd/ndppd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=NDP Proxy Daemon
+After=vyos-router.service
+ConditionPathExists=/run/ndppd/ndppd.conf
+StartLimitIntervalSec=0
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/ndppd -d -p /run/ndppd/ndppd.pid -c /run/ndppd/ndppd.conf
+PIDFile=/run/ndppd/ndppd.pid
+Restart=on-failure
+RestartSec=20
+
+[Install]
+WantedBy=multi-user.target