[systemd-devel] several Conditions (AND or OR)

Alexey Shabalin a.shabalin at gmail.com
Mon Feb 7 03:24:32 PST 2011


Hello!
I need define several conditions in [Unit].
ConditionPathExists=/sbin/startevms
ConditionKernelCommandLine=!noevms
Service must run only if both conditions is true.
Now service run if at least one condition is true.
How chenge (Condition1 || Condition2)  to (Condition1 && Condition2)

-- 
Alexey Shabalin


More information about the systemd-devel mailing list