blob: 17a5b0cbf4eaac0e171737f7bd565ceff3b8ee55 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
[Unit]
Description=secure anycast tunneling daemon for %i
PartOf=anytun.service
Wants=anytun-controld@%i.service
Documentation=man:anytun(8)
[Service]
Type=simple
PIDFile=/run/anytun/%i.pid
Environment="NAME=%i" "DAEMONOPTS=-D --username anytun"
ExecStart=/usr/local/lib/anytun-launcher vpn
Restart=on-failure
PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes
DeviceAllow=/dev/net/tun rw
DevicePolicy=closed
[Install]
WantedBy=multi-user.target
Also=anytun-controld@%i.service
|