Automatically detect the family and type of adopted sockets
|Reported by:||rwall||Owned by:|
It might be possible to detect the type and family of adopted listening sockets.
This would simplify configuration and deployment with systemd. The type and family would only have to be specified once in the systemd configuration file. Currently you also have to specify the type and family again in the Twisted strports syntax. See:
This nginx systemd patch seems to do this in C using some systemd provided library functions. sd_is_socket_inet and sd_is_socket_unix
I think this may have been discussed on IRC. There may even be an existing ticket (but I couldn't find it).