Skip to main content

Module socket

Module socket 

Source
Expand description

Socket activation helpers

Wraps systemd socket activation for receiving file descriptors passed by systemd when a socket is activated.

Functionsยง

fd_name_matches
Check if a specific fd name matches
has_socket
Check if running under systemd socket activation
listen_fds
Get socket activation file descriptors
listen_fds_count
Get the number of listening file descriptors