Skip to main content

Module spawn

Module spawn 

Source

Functions§

run_daemon
Entry point called when running as daemon (via –run-daemon flag in main.rs). This runs in a fresh process with no tokio runtime yet.
spawn_daemon
Spawns the daemon as a detached background process by re-executing the current binary with the --run-daemon SESSION internal flag. This avoids the fork-inside-tokio-runtime problem.