Skip to main content

disable_service

Function disable_service 

Source
pub fn disable_service(unit: &str) -> Result<PathBuf>
Expand description

Disable + remove the user unit. Best-effort stop first — an absent or never-enabled unit still gets its file removed.