class

Fluxion::Executor::SystemdUnitExecutor

Inherits Fluxion::Executor::StepExecutor < Reference < Object

systemd-unit — enable, start, stop, or mask.

Constants

TIMEOUT = 2.minutes

Instance methods

commands(step : Step, item : ModuleItem) : Array(Command)

Commands for one item, in order. Empty means there is nothing to do.

Source
execute(step : Step, item : ModuleItem, runner : ShellRunner, &sink : String -> ) : StepResult

A profile that mentions units should stay usable in a container or an image build, so a missing systemd skips rather than fails.

Source
supports?(step : Step) : Bool
Source