[systemd-devel] [PATCH] condition: add option ConditionArchitecture

Lennart Poettering lennart at poettering.net
Fri Mar 29 09:54:36 PDT 2013


On Fri, 29.03.13 18:00, Oleksii Shevchuk (shevchuk at iit.kharkov.ua) wrote:

> 
> > Ideas?
> 
> Just provide ConditionExec=. People should build their own checkers. You
> still can implement several as stand-alone executables maybe..

Well, we can discuss extending ExecStartPre= so that you can configure
that certain/all retvals have a failed-condition-like effect, but I am
pretty sure we shouldn't involve the process forking state machine in
the condition logic.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list