summarylogtreecommitdiffstats
path: root/popura.service
blob: d5bd58bce8831d97304759cfb5c916b60c9a268f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=popura
Wants=network.target
Wants=popura-default-config.service
After=network.target
After=popura-default-config.service

[Service]
Group=popura
ProtectHome=true
ProtectSystem=true
SyslogIdentifier=popura
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
ExecStartPre=+-/sbin/modprobe tun
ExecStart=/usr/bin/popura -useconffile /etc/popura.conf $popura_opts
ExecReload=/bin/kill -HUP $MAINPID
EnvironmentFile=-/etc/default/popura
Restart=always
TimeoutStopSec=5

[Install]
WantedBy=multi-user.target