On Mon, 7 Feb 2011 14:24:32 +0300
Alexey Shabalin <a.shaba...@gmail.com> wrote:

> 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)
> 

You can create two units, depending on each other, for AND case.

-- 
Mike Kazantsev // fraggod.net


_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to