Skip to main content

Module daemon

Module daemon 

Source

Functions§

cleanup_daemon_files
Cleanup PID file and socket on shutdown.
daemon_pid_path
daemon_socket_path
daemon_status
init_foreground_daemon
Write the current process’s PID and setup signal handler for cleanup. Called from the foreground-daemon process after fork.
is_daemon_running
read_daemon_pid
start_daemon
stop_daemon