Skip to main content

unmask

Function unmask 

Source
pub fn unmask(ctx: &mut HostContext, unit: &str) -> Result<()>
Expand description

Unmask a systemd unit.

In dry-run mode, records systemctl unmask and returns Ok.

ยงErrors

Returns HortoError::CommandFailed when systemctl cannot be spawned or exits non-zero.