summaryrefslogtreecommitdiff
path: root/usr/lib/systemd/system/anytun-control@.service
blob: 4a4fd5e7764866bed5580eb7dbd50f31dce01d81 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[Unit]
Description=secure anycast tunneling config daemon for %i
PartOf=anytun.service
ReloadPropagatedFrom=anytun.service
Requires=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