Expand description
Daemon supervisor for component lifecycle management.
Structs§
Enums§
- Component
Status - Daemon
Error - Error type for daemon component task failures.
Functions§
- is_
process_ alive - Check whether a process with the given PID is currently alive.
- read_
pid_ file - Read the PID from a PID file.
- remove_
pid_ file - Remove the PID file.
- write_
pid_ file - Write a PID file atomically using
O_CREAT | O_EXCLto prevent TOCTOU races.