summaryrefslogtreecommitdiff
path: root/usr/lib/systemd/system/anytun-control@.service
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/systemd/system/anytun-control@.service')
-rw-r--r--usr/lib/systemd/system/anytun-control@.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/anytun-control@.service b/usr/lib/systemd/system/anytun-control@.service
new file mode 100644
index 0000000..ec857e9
--- /dev/null
+++ b/usr/lib/systemd/system/anytun-control@.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=AnyTun Server Config Control Daemon
+After=syslog.target network.target
+Requires=anytun@%i.service
+
+[Service]
+Type=simple
+PIDFile=/run/anytun-controld/%i.pid
+Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3"
+ExecStart=/usr/bin/anytun-launcher.sh configd
+
+[Install]
+WantedBy=multi-user.target