Skip to main content

Module paths

Module paths 

Source
Expand description

Shared path computation for daemon socket, PID file, database, and shadow directory.

Both the server and client modules use these functions to agree on where the daemon listens and where auxiliary files are stored.

Functionsยง

db_path
Returns the path to the daemon SQLite database.
make_socket_name
Build an interprocess local socket [Name] from the path returned by socket_path.
pid_file_path
Returns the path to the daemon PID file.
shadow_dir
Returns the shadow directory used for ephemeral run data.
socket_path
Returns the local socket name the daemon listens on.