Skip to main content

stop_daemon

Function stop_daemon 

Source
pub fn stop_daemon(out: &Output) -> Result<()>
Expand description

Stops a running daemon by reading its PID file and sending SIGTERM. Tells the user what happened, as notes on out.

ยงErrors

The PID file cannot be read or holds no PID.