Expand description
systemctl helpers that respect HostContext dry-run vs apply.
Functionsยง
- disable
- Disable a systemd unit.
- enable
- Enable a systemd unit.
- restart
- Restart a systemd unit.
- start
- Start a systemd unit.
- stop
- Stop a systemd unit.
- systemctl ๐
- try_
disable - Disable
unit; on failure append a warning toHostContext::logs. - try_
enable - Enable
unit; on failure append a warning toHostContext::logs. - try_
restart - Restart
unit; on failure append a warning toHostContext::logs. - try_
start - Start
unit; on failure append a warning toHostContext::logs. - try_
stop - Stop
unit; on failure append a warning toHostContext::logs. - try_
unmask - Unmask
unit; on failure append a warning toHostContext::logs. - unit_
present - True when
systemctl list-unit-filesreports{unit}.service. - unmask
- Unmask a systemd unit.