diff --git a/src/action/linux/start_systemd_unit.rs b/src/action/linux/start_systemd_unit.rs index 5a21f77..7f36f57 100644 --- a/src/action/linux/start_systemd_unit.rs +++ b/src/action/linux/start_systemd_unit.rs @@ -90,13 +90,9 @@ impl Action for StartSystemdUnit { tracing::debug!("Stopping systemd unit"); // TODO(@Hoverbear): Handle proxy vars - execute_command( - Command::new("systemctl") - .arg("disable") - .arg(format!("{unit}")), - ) - .await - .map_err(|e| StartSystemdUnitError::Command(e).boxed())?; + execute_command(Command::new("systemctl").arg("stop").arg(format!("{unit}"))) + .await + .map_err(|e| StartSystemdUnitError::Command(e).boxed())?; tracing::trace!("Stopped systemd unit"); *action_state = ActionState::Completed;