From bf721f9352240694fca1ac986079658178434668 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Fri, 8 Jul 2016 00:04:46 +0200 Subject: added --username to systemd unit files --- usr/lib/systemd/system/anytun-control@.service | 2 +- usr/lib/systemd/system/anytun@.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'usr/lib') 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 -- cgit v1.2.3