summaryrefslogtreecommitdiff
path: root/usr/lib/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'usr/lib/systemd/system')
-rw-r--r--usr/lib/systemd/system/anytun-control@.service2
-rw-r--r--usr/lib/systemd/system/anytun@.service2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/lib/systemd/system/anytun-control@.service b/usr/lib/systemd/system/anytun-control@.service
index 4fb3ba7..014dba4 100644
--- a/usr/lib/systemd/system/anytun-control@.service
+++ b/usr/lib/systemd/system/anytun-control@.service
@@ -6,7 +6,7 @@ Requires=anytun@%i.service
[Service]
Type=simple
PIDFile=/run/anytun-controld/%i.pid
-Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3"
+Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3 --username anytun"
ExecStart=/usr/local/bin/anytun-launcher.sh configd
Restart=on-failure
PrivateTmp=yes
diff --git a/usr/lib/systemd/system/anytun@.service b/usr/lib/systemd/system/anytun@.service
index 176816b..aa7f32b 100644
--- a/usr/lib/systemd/system/anytun@.service
+++ b/usr/lib/systemd/system/anytun@.service
@@ -5,7 +5,7 @@ After=syslog.target network.target
[Service]
Type=simple
PIDFile=/run/anytun/%i.pid
-Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3"
+Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3 --username anytun"
ExecStart=/usr/local/bin/anytun-launcher.sh vpn
Restart=on-failure
PrivateTmp=yes