pub fn check_existing_daemon(pid_path: &Path) -> Result<(), String>Expand description
Check whether an existing PID file points to a running process.
Returns Ok(()) if no daemon is running (or the PID file is stale).
Returns Err(message) if another daemon is still alive.