On Wed, 24.12.14 10:37, Marcos Felipe Rasia de Mello ([email protected])
wrote:
> Hi,
>
> I have a system service that runs with a normal user account
> ([Service] User=bla). I tried
>
> [Unit]
> ConditionPathExists=$HOME/config.xml
Environment variable expansion is only supported for ExecXY
2014-12-25 14:18 GMT-02:00 Zbigniew Jędrzejewski-Szmek :
> On Thu, Dec 25, 2014 at 03:36:15PM +0100, Zbigniew Jędrzejewski-Szmek wrote:
>> On Wed, Dec 24, 2014 at 10:37:50AM -0200, Marcos Felipe Rasia de Mello wrote:
>> > Hi,
>> >
>> > I have a system service that runs with a normal user account
>>
On Thu, Dec 25, 2014 at 03:36:15PM +0100, Zbigniew Jędrzejewski-Szmek wrote:
> On Wed, Dec 24, 2014 at 10:37:50AM -0200, Marcos Felipe Rasia de Mello wrote:
> > Hi,
> >
> > I have a system service that runs with a normal user account
> > ([Service] User=bla). I tried
> >
> > [Unit]
> > ConditionP
On Wed, Dec 24, 2014 at 10:37:50AM -0200, Marcos Felipe Rasia de Mello wrote:
> Hi,
>
> I have a system service that runs with a normal user account
> ([Service] User=bla). I tried
>
> [Unit]
> ConditionPathExists=$HOME/config.xml
>
> but it does not work:
>
> systemd[1]: [/etc/systemd/system/b
Hi,
I have a system service that runs with a normal user account
([Service] User=bla). I tried
[Unit]
ConditionPathExists=$HOME/config.xml
but it does not work:
systemd[1]: [/etc/systemd/system/bla.service:4] Path in condition not
absolute, ignoring: $HOME/config.xml
%h also does not work (exp