thank me later

Unit state

A unit may be:

Unit type

Unit Options

Units metadata options

Dependencies options

Unit condition and assert options

Before a unit is started, Condition and Assert options a checked. These are checked the precise moment the unit would start, meaning the ordering dependencies (After/Before options) is respected.

If a Condition options is not met, the unit will be skipped. If an Assert option is not met, the unit will be aborted with an error message. In either case, the unit won't change its state (for example, from inactive to failed