[systemd-devel] Q: Difference between AssertPathExists and ConditionPathExists?

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Mar 17 09:32:29 UTC 2022


Hi!

When reading the manual page systemd.unit(5), I'm not quite sure what the difference between AssertPathExists and ConditionPathExists is:

(Condition)
If the specified absolute path name does not exist, the condition will fail.

Vs.

(Assert)
However, unlike the conditions settings, any assertion setting that is not met results
in failure of the start job it was triggered by.
----
What does that mean effectively?

Regards,
Ulrich





More information about the systemd-devel mailing list