diff options
author | Bernhard Tittelbach <service-anytun@tittelbach.org> | 2015-01-16 00:13:27 +0000 |
---|---|---|
committer | Bernhard Tittelbach <service-anytun@tittelbach.org> | 2015-01-16 00:13:27 +0000 |
commit | 3de5d986dc5cebf31287d1c41388a1004976df7d (patch) | |
tree | d3acbf5aaf350354fd11ca833c85ae2b315f671b /usr/lib/systemd/system/anytun@.service | |
parent | version output now includes compiler version (diff) |
systemd support (--with-systemd) (config/install script untested)
Diffstat (limited to 'usr/lib/systemd/system/anytun@.service')
-rw-r--r-- | usr/lib/systemd/system/anytun@.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/usr/lib/systemd/system/anytun@.service b/usr/lib/systemd/system/anytun@.service new file mode 100644 index 0000000..2b7fa72 --- /dev/null +++ b/usr/lib/systemd/system/anytun@.service @@ -0,0 +1,12 @@ +[Unit] +Description=AnyTun secure anycast tunneling +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 + +[Install] +WantedBy=multi-user.target |