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

Method install

crates/learnerd/src/daemon/mod.rs:339–339  ·  view source on GitHub ↗

Installs the daemon as a system service using platform-specific mechanisms. # Platform-specific behavior - Linux: Creates systemd unit file - macOS: Creates launchd plist # Errors Returns `LearnerdErrors` if service installation fails.

(&self)

Source from the content-addressed store, hash-verified

337 ///
338 /// Returns `LearnerdErrors` if service installation fails.
339 pub fn install(&self) -> Result<()> { install_system_daemon(self) }
340
341 /// Removes the daemon from system services.
342 ///

Callers 1

daemonFunction · 0.80

Calls 1

install_system_daemonFunction · 0.70

Tested by

no test coverage detected