[systemd-devel] socket activation socket state

Ted Toth txtoth at gmail.com
Fri May 28 18:26:57 UTC 2021


When a socket service runs is there a way to determine the socket
state? If the socket file contains:
Accept=true

does systemd call accept with the socket before execing the service in
which case I don't have to call accept? Is there a way to
differentiate a socket with Accept set to true versus one without
Accept or with it set to false? I've read the sd_is_socket man page
but it's not clear to me if it can answer the question I posed.

Ted


More information about the systemd-devel mailing list