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

This seems rather arbitrary to hard-code this to tty0

It would make much more sense to actually test for the device which we
try to start the getty on.

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to