summaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
Diffstat (limited to 'usr')
-rw-r--r--usr/lib/systemd/system/anytun-control@.service1
-rw-r--r--usr/lib/systemd/system/anytun@.service3
2 files changed, 3 insertions, 1 deletions
diff --git a/usr/lib/systemd/system/anytun-control@.service b/usr/lib/systemd/system/anytun-control@.service
index 4a4fd5e..2fd0b75 100644
--- a/usr/lib/systemd/system/anytun-control@.service
+++ b/usr/lib/systemd/system/anytun-control@.service
@@ -3,6 +3,7 @@ Description=secure anycast tunneling config daemon for %i
PartOf=anytun.service
ReloadPropagatedFrom=anytun.service
Requires=anytun@%i.service
+After=anytun@%i.service
Documentation=man:anytun-controld(8)
[Service]
diff --git a/usr/lib/systemd/system/anytun@.service b/usr/lib/systemd/system/anytun@.service
index 4b09163..ba2130f 100644
--- a/usr/lib/systemd/system/anytun@.service
+++ b/usr/lib/systemd/system/anytun@.service
@@ -2,12 +2,13 @@
Description=secure anycast tunneling daemon for %i
PartOf=anytun.service
ReloadPropagatedFrom=anytun.service
+Wants=anytun-controld@%i.service
Documentation=man:anytun(8)
[Service]
Type=simple
PIDFile=/run/anytun/%i.pid
-Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3 --username anytun"
+Environment="NAME=%i" "DAEMONOPTS=-D --username anytun"
ExecStart=/usr/local/lib/anytun-launcher vpn
Restart=on-failure
PrivateTmp=yes