undo change
This commit is contained in:
parent
4ea3cd221d
commit
71e63da4e4
|
@ -90,11 +90,7 @@ impl Action for StartSystemdUnit {
|
||||||
tracing::debug!("Stopping systemd unit");
|
tracing::debug!("Stopping systemd unit");
|
||||||
|
|
||||||
// TODO(@Hoverbear): Handle proxy vars
|
// TODO(@Hoverbear): Handle proxy vars
|
||||||
execute_command(
|
execute_command(Command::new("systemctl").arg("stop").arg(format!("{unit}")))
|
||||||
Command::new("systemctl")
|
|
||||||
.arg("disable")
|
|
||||||
.arg(format!("{unit}")),
|
|
||||||
)
|
|
||||||
.await
|
.await
|
||||||
.map_err(|e| StartSystemdUnitError::Command(e).boxed())?;
|
.map_err(|e| StartSystemdUnitError::Command(e).boxed())?;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue