From 3de5d986dc5cebf31287d1c41388a1004976df7d Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Fri, 16 Jan 2015 00:13:27 +0000 Subject: systemd support (--with-systemd) (config/install script untested) --- usr/lib/systemd/system/anytun@.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 usr/lib/systemd/system/anytun@.service (limited to 'usr/lib/systemd/system/anytun@.service') 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 -- cgit v1.2.3