|
|
|
|
|
by davidstrauss
3885 days ago
|
|
Directly talking to the notify socket is not considered using systemd internals. It is documented as a stable, public interface: https://wiki.freedesktop.org/www/Software/systemd/InterfaceS... Socket activation doesn't have any systemd-based interface. You just get a file descriptor passed in the normal Unix way. The systemd library functions related to socket activation are utility functions for examining the inherited socket, but they are just wrappers for any other way you might do so. You can configure daemons like nginx or PHP-FPM to use sockets inherited from systemd instead of their own, and it works fine. They don't have any specific support for systemd socket activation, nor do they need to. They can't even tell the difference between the systemd sockets and ones they'd get on a configuration reload. |
|
Then -according to digi_owl's report- it sounds like the documentation for the signalling lib should be fixed.