Skip to main content

start_daemon

Function start_daemon 

Source
pub fn start_daemon(addr: SocketAddr, config: Config) -> Result<()>
Expand description

Starts the server as a background daemon (Unix only).

Spawns the current executable as a detached child process with stdout/stderr redirected to a log file, then writes the PID.