Re: [systemd-devel] passing additional FDs to service

2024-07-05 Thread Mantas Mikulėnas
A service could receive multiple listeners sockets, but I don't remember systemd having an option to pass client connection sockets – and I don't think it would make much sense, as the SMTP server is likely to close the connection while the service is still running, and then systemd would definitel

[systemd-devel] passing additional FDs to service

2024-07-05 Thread Andrea Pappacoda
Hi all! I'm writing a small FastCGI daemon which, in addition to the socket used to talk FastCGI to the web server, talks SMTP through another (inet) socket (as an SMTP client). The FastCGI socket is created by systemd with a .socket unit and passed to the service as an fd (which also enables soc