Open
Description
systemd.socket
files apply many of the options specified therein to all the sockets defined in the systemd.socket
file. For example: BindToDevice
. Systemd supports using multiple socket files for a single service, but does not define an ordering of the sockets between those socket files. Instead, systemd provides the names of the socket files within environment variables (LISTEN_FDS
and LISTEN_FDNAMES
combine to name the fds).
To enable the full flexibility of socket activation, caddy could allow binding to fds based on these names.
This is especially useful as caddy does not have BindToDevice (SO_BINDTODEVICE) nor FreeBind (SO_FREEBIND) support, meaning socket activation is the only way to obtain those today.