summaryrefslogtreecommitdiff
path: root/usr/lib/systemd/system/anytun-controld@.service
blob: 87f7294dddcca40587ebe12d67708121f419d30e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=secure anycast tunneling config daemon for %i
PartOf=anytun.service
After=anytun@%i.service
Documentation=man:anytun-controld(8)

[Service]
Type=simple
PIDFile=/run/anytun-controld/%i.pid
Environment="NAME=%i" "DAEMONOPTS=-D -L stdout:3 --username anytun"
ExecStart=/usr/local/lib/anytun-launcher configd
Restart=on-failure
PrivateTmp=yes
PrivateDevices=yes
ProtectSystem=full
ProtectHome=yes

[Install]
WantedBy=multi-user.target