summaryrefslogtreecommitdiff
path: root/usr/lib/systemd/system/anytun-control@.service
blob: b2e6a2ce75662d03f8c49a7a12b629ec4b47d545 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=AnyTun Server Config Control Daemon
After=syslog.target network.target
Requires=anytun@%i.service

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

[Install]
WantedBy=multi-user.target