forked from pool/openvpn
- Fixed openvpn-tmpfile.conf to use GID root, there is no openvpn group.
- Added openvpn.target file allowing to handle all instances at once. - Disabled systemd variant of restart on update rpm macro, adopted other macros to use openvpn.target to e.g. stop all instances on uninstall. OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=58
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
[Unit]
|
||||
Description=OpenVPN Robust And Highly Flexible Tunneling Application Instance using %I.conf
|
||||
After=syslog.target network.target
|
||||
Description=OpenVPN tunneling daemon instance using /etc/openvpn/%I.conf
|
||||
After=network.target
|
||||
PartOf=openvpn.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
@@ -10,5 +11,5 @@ ExecStart=/usr/sbin/openvpn --daemon --suppress-timestamps --writepid /var/run/o
|
||||
ExecReload=/sbin/killproc -p /var/run/openvpn/%i.pid -HUP /usr/sbin/openvpn
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=multi-user.target openvpn.target
|
||||
|
||||
|
Reference in New Issue
Block a user