Skip to main content

Module path

Module path 

Source
Expand description

Control-socket locations and the sibling files next to them.

Constants§

HUD_LOG_ENV
Override for hud_log_path. Empty or unset falls through.
HUD_SOCKET_ENV
Override for hud_socket_path. Empty or unset falls through.
SERVE_LOG_ENV
Override for control_log_path. Empty or unset falls through.
SOCKET_ENV
Override for default_socket_path. Empty or unset falls through.

Functions§

beside_socket
name in the same directory as socket.
control_log_path
Detached serve log. VISSUE_SERVE_LOG wins; otherwise control.log next to the default socket.
default_socket_path
Default control socket: env, then $XDG_RUNTIME_DIR/vissue/control.sock, then ~/.vissue/run/control.sock.
hud_log_path
HUD stderr log. VISSUE_HUD_LOG wins; otherwise hud.log next to the default socket.
hud_socket_path
HUD summon socket. VISSUE_HUD_SUMMON_SOCKET wins; otherwise hud.sock next to the default socket.
runtime_dir
Per-user runtime directory that holds the control socket.
socket_lock_path
{socket}.lock, the exclusive flock file. Never unlinked by callers.
socket_pid_path
{socket}.pid, the owner pid file.