Re: [systemd-devel] %i/%I instance expansion in ExecStartPre ?

2013-05-03 Thread Lennart Poettering
On Thu, 02.05.13 10:41, Colin Guthrie (gm...@colin.guthr.ie) wrote: The rules for ExecStartPre and ExecStart are the same so you can use the %i/%I specifiers in the arguments - that's what they were designed for :) Looking at man systemd.service and checking the ExecStart section it says:

Re: [systemd-devel] %i/%I instance expansion in ExecStartPre ?

2013-05-02 Thread Colin Guthrie
'Twas brillig, and d...@sent.com at 01/05/13 16:56 did gyre and gimble: hi zbigniew On Wed, May 1, 2013, at 08:32 AM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, May 01, 2013 at 08:29:57AM -0700, d...@sent.com wrote: Is %i/%I expansion in ExecStartPre possible? and/or have I misconfigured

[systemd-devel] %i/%I instance expansion in ExecStartPre ?

2013-05-01 Thread darx
Hi, I've a systemd unit file for my own instance of openvpn vi /etc/systemd/system/openvpn@.service -- [Unit] Description=OpenVPN Server on %I After=syslog.target network.target Before=openvpn.%i.target

Re: [systemd-devel] %i/%I instance expansion in ExecStartPre ?

2013-05-01 Thread Zbigniew Jędrzejewski-Szmek
On Wed, May 01, 2013 at 08:29:57AM -0700, d...@sent.com wrote: Is %i/%I expansion in ExecStartPre possible? and/or have I misconfigured something here? It's expressly forbidden to use specifiers in the binary name. systemctl --version systemd 195 suse +PAM +LIBWRAP +AUDIT

Re: [systemd-devel] %i/%I instance expansion in ExecStartPre ?

2013-05-01 Thread darx
hi zbigniew On Wed, May 1, 2013, at 08:32 AM, Zbigniew Jędrzejewski-Szmek wrote: On Wed, May 01, 2013 at 08:29:57AM -0700, d...@sent.com wrote: Is %i/%I expansion in ExecStartPre possible? and/or have I misconfigured something here? It's expressly forbidden to use specifiers in the binary