Re: [systemd-devel] Is %i supported in Condition?

2016-07-19 Thread Michael Biebl
2016-07-19 13:07 GMT+02:00 Lennart Poettering : > On Tue, 19.07.16 12:45, Michael Biebl (mbi...@gmail.com) wrote: > >> > "tty0" is a nice way to detect whether the VC system is available. The >> > instances should be cleanly skipped if the VC system is not available >> >

Re: [systemd-devel] Is %i supported in Condition?

2016-07-19 Thread Michael Biebl
Sorry, this was meant to go to the mailing list 2016-07-19 12:45 GMT+02:00 Michael Biebl : > 2016-07-19 12:06 GMT+02:00 Lennart Poettering : >> On Tue, 19.07.16 00:32, Michael Biebl (mbi...@gmail.com) wrote: >>> settings support which specifiers. >>> But

Re: [systemd-devel] Is %i supported in Condition?

2016-07-19 Thread Andrei Borzenkov
On Tue, Jul 19, 2016 at 1:06 PM, Lennart Poettering wrote: > On Tue, 19.07.16 00:32, Michael Biebl (mbi...@gmail.com) wrote: > >> Hi, >> >> the systemd.unit man page is not quite clear on this, i.e. which >> settings support which specifiers. >> But maybe I just missed it. >

Re: [systemd-devel] Is %i supported in Condition?

2016-07-19 Thread Lennart Poettering
On Tue, 19.07.16 00:32, Michael Biebl (mbi...@gmail.com) wrote: > Hi, > > the systemd.unit man page is not quite clear on this, i.e. which > settings support which specifiers. > But maybe I just missed it. It is supported. I figure instead of documenting which options support specifier

[systemd-devel] Is %i supported in Condition?

2016-07-18 Thread Michael Biebl
Hi, the systemd.unit man page is not quite clear on this, i.e. which settings support which specifiers. But maybe I just missed it. I was wondering if I can use ConditionPathExists=/dev/%i Seems like this would e.g. be useful in getty@.service, which currently has ConditionPathExists=/dev/tty0