SHA256
1
0
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:
2013-04-23 13:22:31 +00:00
committed by Git OBS Bridge
parent 38fd21b2e6
commit d3f926c85f
5 changed files with 29 additions and 16 deletions

View File

@@ -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