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 SESSIONinternal flag. This avoids the fork-inside-tokio-runtime problem.