Skip to main content

unload

Function unload 

Source
pub fn unload() -> Result<()>
Expand description

Stops and disables the socket (and stops any running daemon) so it is not re-activated on the next client connect or at the next login.

The systemd analogue of launchd’s bootout. Best-effort: a not-installed unit is not an error. The unit files are left on disk (a disabled unit does not auto-start); a later daemon start rewrites and re-enables them.