FS#33054 - [openvpn] systemd .service file: wrong argument order
Attached to Project:
Arch Linux
Opened by PyroPeter (pyropeter) - Tuesday, 11 December 2012, 21:44 GMT
Last edited by Thomas Bächler (brain0) - Saturday, 09 February 2013, 14:56 GMT
Opened by PyroPeter (pyropeter) - Tuesday, 11 December 2012, 21:44 GMT
Last edited by Thomas Bächler (brain0) - Saturday, 09 February 2013, 14:56 GMT
|
Details
The openvpn .service file uses the following command
line:
ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i --cd /etc/openvpn But the --cd argument should be the first argument: ExecStart=/usr/sbin/openvpn --cd /etc/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i If --cd is added after --config, you can't use the 'cd' directive in the config file (at least not with a relative path). |
This task depends upon
Closed by Thomas Bächler (brain0)
Saturday, 09 February 2013, 14:56 GMT
Reason for closing: Fixed
Additional comments about closing: openvpn 2.3.0-2
Saturday, 09 February 2013, 14:56 GMT
Reason for closing: Fixed
Additional comments about closing: openvpn 2.3.0-2
I should probably add that the argument order I'm proposing is the one also used by the old ArchLinux initscript and Ubuntu.