Re: [systemd-devel] Stopping services started by Systemd socket

2018-01-23 Thread Lennart Poettering
On Mo, 22.01.18 20:06, Liam Kelly (liamkell...@gmail.com) wrote: > How does Systemd communicate to socket activated application that > the connection has been closed? How can I modify my application to > detect this event if it cannot be configured to be closed > automatically? systemd does not.

Re: [systemd-devel] Stopping services started by Systemd socket

2018-01-23 Thread Jérémy Rosen
that's not really an answer to your question but... have you looked at systemd-socket-proxyd ? it's a simple program that is meant to be started by a socket and will redirect all traffic to another local port. Properly used it allows a traditional network daemon to be started on demand. I

Re: [systemd-devel] Stopping services started by Systemd socket

2018-01-22 Thread Mantas Mikulėnas
On Tue, Jan 23, 2018 at 3:06 AM, Liam Kelly wrote: > How does Systemd communicate to socket activated application that the > connection has been closed? How can I modify my application to detect this > event if it cannot be configured to be closed automatically? > > > > We