[systemd-devel] WorkingDirectory in service file
list at eworm.de
Tue Nov 22 05:44:01 PST 2011
I use a service file for openvpn from the Arch Linux systemd-arch-units
Description=OpenVPN connection to %i
ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i
Looks like WorkingDirectory is ignored and the real working directory is / as
I have to call scripts within the configuration with absolute paths. pwd run
inside a script gives "/".
Everything works as expected (with relative paths) when launching openvpn
from /etc/openvpn manually. Any hints what goes wrong?
More information about the systemd-devel