Skip to main content

uninstall_service

Function uninstall_service 

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

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

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