forked from pool/openvpn
3e6d073d65
- Fix inconsistency in openvpn.service: * It uses the unescape instance name as config file basename, so use that in the description as well OBS-URL: https://build.opensuse.org/request/show/781397 OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=150
17 lines
551 B
Desktop File
17 lines
551 B
Desktop File
[Unit]
|
|
Description=OpenVPN tunneling daemon instance using /etc/openvpn/%i.conf
|
|
After=network.target
|
|
PartOf=openvpn.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
PrivateTmp=true
|
|
PIDFile=/var/run/openvpn/%i.pid
|
|
ExecStart=/usr/sbin/openvpn --daemon openvpn@%i --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
|
|
# boo#1142830: "reload" does not work if openvpn drops root privileges after startup.
|
|
ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target openvpn.target
|
|
|