On 04/04/2013 07:49 AM, Jiri Slaby wrote:
Hi,
after updating openvpn in factory, it doesn't work at all. You install openvpn.service, but use %i in the service file. How was this supposed to work?
It does not work, because the naming is broken You need openvpn@.service, IIUC. Did you test it at all? Yes, here is a better one.. cat openvpn@.service [Unit] Description=OpenVPN Robust And Highly Flexible Tunneling Application On %I After=network.target [Service] ExecStart=/usr/sbin/openvpn --suppress-timestamps --fast-io --mlock --cd /etc/openvpn/ --config %i.conf ExecReload=/bin/kill -HUP $MAINPID PrivateTmp=true [Install] WantedBy=multi-user.target systemctl (enable|start|disable) openvpn@yourconfigfilebasename.service -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org