Skip to main content

has_socket

Function has_socket 

Source
pub fn has_socket() -> bool
Expand description

Check if running with systemd socket activation

Returns true if LISTEN_FDS is set and LISTEN_PID matches current process.