MCPcopy Create free account
hub / github.com/Autoparallel/learner / uninstall_system_daemon

Function uninstall_system_daemon

crates/learnerd/src/daemon/linux.rs:87–89  ·  view source on GitHub ↗

Removes the daemon service configuration. # Errors Returns `LearnerdErrors` if service file removal fails.

()

Source from the content-addressed store, hash-verified

85///
86/// Returns `LearnerdErrors` if service file removal fails.
87pub fn uninstall_system_daemon() -> Result<()> {
88 Ok(fs::remove_file("/etc/systemd/system/learnerd.service")?)
89}
90
91/// Displays post-installation instructions and helpful commands.
92///

Callers 1

uninstallMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected