summaryrefslogtreecommitdiff
path: root/usr/lib
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib')
-rw-r--r--usr/lib/systemd/system/anytun-control@.service4
-rw-r--r--usr/lib/systemd/system/anytun@.service4
-rw-r--r--usr/lib/tmpfiles.d/anytun.conf2
3 files changed, 6 insertions, 4 deletions
diff --git a/usr/lib/systemd/system/anytun-control@.service b/usr/lib/systemd/system/anytun-control@.service
index b2e6a2c..4fb3ba7 100644
--- a/usr/lib/systemd/system/anytun-control@.service
+++ b/usr/lib/systemd/system/anytun-control@.service
@@ -1,5 +1,5 @@
[Unit]
-Description=AnyTun Server Config Control Daemon
+Description=secure anycast tunneling config daemon
After=syslog.target network.target
Requires=anytun@%i.service
@@ -7,7 +7,7 @@ Requires=anytun@%i.service
Type=simple
PIDFile=/run/anytun-controld/%i.pid
Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3"
-ExecStart=/usr/bin/anytun-launcher.sh configd
+ExecStart=/usr/local/bin/anytun-launcher.sh configd
Restart=on-failure
PrivateTmp=yes
PrivateDevices=yes
diff --git a/usr/lib/systemd/system/anytun@.service b/usr/lib/systemd/system/anytun@.service
index b28433b..176816b 100644
--- a/usr/lib/systemd/system/anytun@.service
+++ b/usr/lib/systemd/system/anytun@.service
@@ -1,12 +1,12 @@
[Unit]
-Description=AnyTun secure anycast tunneling
+Description=secure anycast tunneling daemon
After=syslog.target network.target
[Service]
Type=simple
PIDFile=/run/anytun/%i.pid
Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3"
-ExecStart=/usr/bin/anytun-launcher.sh vpn
+ExecStart=/usr/local/bin/anytun-launcher.sh vpn
Restart=on-failure
PrivateTmp=yes
PrivateDevices=yes
diff --git a/usr/lib/tmpfiles.d/anytun.conf b/usr/lib/tmpfiles.d/anytun.conf
new file mode 100644
index 0000000..9fb1215
--- /dev/null
+++ b/usr/lib/tmpfiles.d/anytun.conf
@@ -0,0 +1,2 @@
+d /run/anytun-controld 0700 anytun anytun -
+d /run/anytun 0700 anytun anytun -