Skip to main content

uninstall_service

Function uninstall_service 

Source
pub fn uninstall_service(root: &Path) -> Result<ServiceState, OrchestratorError>
Expand description

Stop and unregister the unit, and remove the rendered file setup wrote.

Idempotent: a unit the manager does not hold is not an error, because the state the operator asked for is the state they get.