pub fn stop() -> Result<()>
Stops the daemon; “already stopped” counts as success, so cleanup scripts can call it unconditionally.
use kasl::libs::daemon; daemon::stop()?; println!("Monitoring stopped");