> Well, we can discuss extending ExecStartPre= ExecStartPre= is not about that anyway, because it can be used only in .service units.
> but I am pretty sure we shouldn't involve the process forking state > machine in the condition logic. I don't like it too. But can we have other alternatives? Some way ( or policy ) for extending without systemd patching should be provided, maybe. I think about using .target as conditions, like on-battery.target, network@XXX.target, arch@XXX.target, etc with some other way to push them on. Personally I use this approach now (for example, I don't use ConditionACPower, but battery.target and low-battery.target, which are pushed by third-party daemon). _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel