Skip to main content

Module daemon

Module daemon 

Source

Structsยง

DaemonOpts
DaemonServiceRecord ๐Ÿ”’

Enumsยง

DaemonAction

Constantsยง

DEFAULT_DAEMON_PORT
ERR_LOG_FILE_NAME ๐Ÿ”’
LOG_FILE_NAME ๐Ÿ”’
PID_FILE_NAME ๐Ÿ”’

Functionsยง

clear_service_record ๐Ÿ”’
ensure_runtime_dir ๐Ÿ”’
err_log_file_path ๐Ÿ”’
handle
Handles the subcommand action.
log_file_path ๐Ÿ”’
pid_file_path ๐Ÿ”’
pid_is_running ๐Ÿ”’
ping_daemon
Pings the daemon.
print_doctor
Prints diagnostics.
print_status
Prints status.
read_service_record ๐Ÿ”’
runtime_dir ๐Ÿ”’
serve_foreground
Serves the daemon in the foreground.
spawn_detached_service ๐Ÿ”’
spawn_detached_service_portable ๐Ÿ”’
start_service
Starts the service.
state_dir ๐Ÿ”’
stop_service
Stops the service.
write_service_record ๐Ÿ”’