aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-11-05 23:30:53 +0100
committerToni Uhlig <matzeton@googlemail.com>2022-11-06 12:58:55 +0100
commit7515c8aeec3f6e60aa7e97e6903f6306ca7af34e (patch)
tree2583c254db17121facfd4b6b43cfe44abc064c55 /packages
parent25f4ef74acb73340bd7cba7a7d45ab7191232283 (diff)
Experimental systemd support.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/systemd/ndpid@.service12
-rw-r--r--packages/systemd/ndpisrvd.service11
2 files changed, 23 insertions, 0 deletions
diff --git a/packages/systemd/ndpid@.service b/packages/systemd/ndpid@.service
new file mode 100644
index 000000000..26cea6cb1
--- /dev/null
+++ b/packages/systemd/ndpid@.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=nDPId Service on interface %i
+After=ndpisrvd.service
+Requires=ndpisrvd.service
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/nDPId -i %i -l -A -z -c /var/run/ndpisrvd-collector
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
diff --git a/packages/systemd/ndpisrvd.service b/packages/systemd/ndpisrvd.service
new file mode 100644
index 000000000..9218f6599
--- /dev/null
+++ b/packages/systemd/ndpisrvd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=nDPIsrvd Service
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/nDPIsrvd -l -c /var/run/ndpisrvd-collector
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target