Skip to main content

Module daemon

Module daemon 

Source

Functionsยง

control_socket_path
Returns the daemon socket path.
pid_file_path
Returns the PID file path (sibling to ctl.sock).
run
Run the daemon, listening on its socket.
socket_dir
Returns the base directory for gritty sockets. Prefers $XDG_RUNTIME_DIR/gritty, falls back to /tmp/gritty-$UID.