summarylogtreecommitdiffstats
path: root/mip6d.service
diff options
context:
space:
mode:
authorWillem Mulder2020-07-22 17:42:57 +0200
committerWillem Mulder2020-07-22 17:45:07 +0200
commit92ebdc5a61bba3602a58f617e6ae058c141be855 (patch)
tree3c1446111d5a7504d8d3b707704584f5e524285f /mip6d.service
parentd7ced5016344da22ab285d179477c88287317a82 (diff)
downloadaur-92ebdc5a61bba3602a58f617e6ae058c141be855.tar.gz
Rework package to modern standards
- Replace rc.d/conf.d with systemd service - Use pkgver/prepare/build/package instead of only build - Use proper package versioning This commit also includes a patch to make mip6d compile against OpenSSL >= 1.1
Diffstat (limited to 'mip6d.service')
-rw-r--r--mip6d.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/mip6d.service b/mip6d.service
new file mode 100644
index 000000000000..037c7a13e489
--- /dev/null
+++ b/mip6d.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=MIPL Mobile IPv6 for Linux
+Wants=ipsec.service
+After=ipsec.service
+AssertPathExists=/etc/mip6d.conf
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/mip6d -c /etc/mip6d.conf
+
+[Install]
+WantedBy=default.target