Re: [systemd-devel] How to only allow service to start when network-online.target is met?

2019-10-31 Thread Lennart Poettering
On Di, 17.09.19 15:44, Dom Rodriguez (shym...@shymega.org.uk) wrote: > Hello, > > I've got a service unit, which is linked to a timer unit, and I'd like to have > the behaviour associated with `Condition=` directives, but for targets. To > explain further, my desired expectation is for the service

Re: [systemd-devel] How to only allow service to start when network-online.target is met?

2019-09-17 Thread Dom Rodriguez
On this date - Tue, Sep 17, 2019 at 06:35:34PM +0300, Mantas Mikulėnas wrote: > On Tue, Sep 17, 2019 at 5:53 PM Dom Rodriguez > wrote: > > > Hello, > > > > I've got a service unit, which is linked to a timer unit, and I'd like to > > have > > the behaviour associated with `Condition=` directives,

Re: [systemd-devel] How to only allow service to start when network-online.target is met?

2019-09-17 Thread Mantas Mikulėnas
On Tue, Sep 17, 2019 at 5:53 PM Dom Rodriguez wrote: > Hello, > > I've got a service unit, which is linked to a timer unit, and I'd like to > have > the behaviour associated with `Condition=` directives, but for targets. To > explain further, my desired expectation is for the service unit to *onl

[systemd-devel] How to only allow service to start when network-online.target is met?

2019-09-17 Thread Dom Rodriguez
Hello, I've got a service unit, which is linked to a timer unit, and I'd like to have the behaviour associated with `Condition=` directives, but for targets. To explain further, my desired expectation is for the service unit to *only* start when the target is active. Ideally, I don't want the serv