diff options
author | Christian Pointner <equinox@anytun.org> | 2016-07-07 22:48:58 +0200 |
---|---|---|
committer | Christian Pointner <equinox@anytun.org> | 2016-07-07 22:48:58 +0200 |
commit | 2c3c2955a29135ecc2a7920c9816bc8ccd0f9086 (patch) | |
tree | 34c537ad3da97a302bd41362c4e8179879ea8fcb /usr/lib/systemd/system | |
parent | added some privilege limitations to sample systemd services (diff) |
streamlined systemd integration/installation
Diffstat (limited to 'usr/lib/systemd/system')
-rw-r--r-- | usr/lib/systemd/system/anytun-control@.service | 4 | ||||
-rw-r--r-- | usr/lib/systemd/system/anytun@.service | 4 |
2 files changed, 4 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 |