f33ffa2f73
are correctly being queried from the user. (bsc#1078026, boo#985798, boo#1031748) - Use %service_add/del macros throughout (bsc#1038406). OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=131
16 lines
465 B
Desktop File
16 lines
465 B
Desktop File
[Unit]
|
|
Description=OpenVPN tunneling daemon instance using /etc/openvpn/%I.conf
|
|
After=network.target
|
|
PartOf=openvpn.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
PrivateTmp=true
|
|
PIDFile=/var/run/openvpn/%i.pid
|
|
ExecStart=/usr/sbin/openvpn --daemon --askpass --suppress-timestamps --writepid /var/run/openvpn/%i.pid --cd /etc/openvpn/ --config %i.conf
|
|
ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target openvpn.target
|
|
|