pub fn enable(ctx: &mut HostContext, unit: &str) -> Result<()>Expand description
Enable a systemd unit.
In dry-run mode, records systemctl enable and returns Ok.
ยงErrors
Returns HortoError::CommandFailed when systemctl cannot be spawned or exits non-zero.