summarylogtreecommitdiffstats
path: root/popura.service
blob: c793acf3c47e709ec94a2ae8a4d67b9b7a8e990a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[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
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
TimeoutStopSec=5

[Install]
WantedBy=multi-user.target