Re: [systemd-devel] WorkingDirectory in service file

2011-11-24 Thread Christian Hesse
Colin Guthrie on Thu, 24 Nov 2011 20:51:19 +: > 'Twas brillig, and Christian Hesse at 23/11/11 20:07 did gyre and gimble: > > Christian Hesse on Tue, 22 Nov 2011 14:44:01 +0100: > >> [...] > >> Looks like WorkingDirectory is ignored and the real working directory > >> is / as I have to call s

Re: [systemd-devel] WorkingDirectory in service file

2011-11-24 Thread Colin Guthrie
'Twas brillig, and Christian Hesse at 23/11/11 20:07 did gyre and gimble: > Christian Hesse on Tue, 22 Nov 2011 14:44:01 +0100: >> [...] >> Looks like WorkingDirectory is ignored and the real working directory >> is / as I have to call scripts within the configuration with absolute >> paths. pwd r

Re: [systemd-devel] WorkingDirectory in service file

2011-11-23 Thread Christian Hesse
Christian Hesse on Tue, 22 Nov 2011 14:44:01 +0100: > [...] > 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 path

[systemd-devel] WorkingDirectory in service file

2011-11-22 Thread Christian Hesse
Hello everybody, I use a service file for openvpn from the Arch Linux systemd-arch-units package: [Unit] Description=OpenVPN connection to %i After=network.target [Service] Type=forking ExecStart=/usr/sbin/openvpn --config /etc/openvpn/%i.conf --daemon openvpn@%i WorkingDirectory=/etc/openvpn [