Skip to main content

run_daemon

Function run_daemon 

Source
pub async fn run_daemon(project_root: &Path) -> Result<()>
Expand description

Run the daemon for the given project root. Handles full lifecycle: PID file, socket server, cleanup on exit.

ยงErrors

Returns an error if the daemon fails to start (PID conflict, socket bind failure).