[systemd-devel] socket activation socket state

2021-05-28 Thread Ted Toth
When a socket service runs is there a way to determine the socket state? If the socket file contains: Accept=true does systemd call accept with the socket before execing the service in which case I don't have to call accept? Is there a way to differentiate a socket with Accept set to true versus o

Re: [systemd-devel] socket activation socket state

2021-05-28 Thread Mantas Mikulėnas
On Fri, 28 May 2021 at 21:27, Ted Toth wrote: > When a socket service runs is there a way to determine the socket > state? If the socket file contains: > Accept=true > > does systemd call accept with the socket before execing the service in > which case I don't have to call accept? Yes, with Ac