openvpn/openvpn.service
Marius Tomaschewski 38fd21b2e6 - Fixed to enable systemd support in configure
- Fixed to install the service template correctly as openvpn@.service.
  Use "systemctl enable openvpn@foo.service" to enable instance using
  /etc/openvpn/foo.conf.
- Fixed openvpn-tmpfile.conf to use GID root, there is no openvpn group.
- Disabled all systemd post install macros trying to use not existing
  openvpn.service file.

OBS-URL: https://build.opensuse.org/package/show/network:vpn/openvpn?expand=0&rev=57
2013-04-23 12:40:53 +00:00

15 lines
451 B
Desktop File

[Unit]
Description=OpenVPN Robust And Highly Flexible Tunneling Application Instance using %I.conf
After=syslog.target network.target
[Service]
Type=forking
PrivateTmp=true
PIDFile=/var/run/openvpn/%i.pid
ExecStart=/usr/sbin/openvpn --daemon --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