Re: [systemd-devel] how to end a socket activated daemon

2013-06-18 Thread David Strauss
On Tue, Jun 18, 2013 at 10:23 AM, Kok, Auke-jan H wrote: > Therefore, the .service daemon should NOT unlink > the socket. And you can generally prevent the service from having the service unit drop permissions to something that can't delete the socket. The service get get the fd from socket activ

Re: [systemd-devel] how to end a socket activated daemon

2013-06-18 Thread Kok, Auke-jan H
On Tue, Jun 18, 2013 at 3:04 AM, Łukasz Stelmach wrote: > It was <2013-06-17 pon 20:51>, when Lennart Poettering wrote: >> On Fri, 14.06.13 14:33, Zbigniew Jędrzejewski-Szmek ([email protected]) >> wrote: >> >>> On Fri, Jun 14, 2013 at 10:03:00AM +0200, Łukasz Stelmach wrote: We are converti

Re: [systemd-devel] how to end a socket activated daemon

2013-06-18 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jun 18, 2013 at 12:04:40PM +0200, Łukasz Stelmach wrote: > It was <2013-06-17 pon 20:51>, when Lennart Poettering wrote: > > On Fri, 14.06.13 14:33, Zbigniew Jędrzejewski-Szmek ([email protected]) > > wrote: > > > >> On Fri, Jun 14, 2013 at 10:03:00AM +0200, Łukasz Stelmach wrote: > >>> We

Re: [systemd-devel] how to end a socket activated daemon

2013-06-18 Thread Łukasz Stelmach
It was <2013-06-17 pon 20:51>, when Lennart Poettering wrote: > On Fri, 14.06.13 14:33, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > >> On Fri, Jun 14, 2013 at 10:03:00AM +0200, Łukasz Stelmach wrote: >>> We are converting some daemons to socket activation. Most of them >>> open unix so

Re: [systemd-devel] how to end a socket activated daemon

2013-06-17 Thread Lennart Poettering
On Fri, 14.06.13 14:33, Zbigniew Jędrzejewski-Szmek ([email protected]) wrote: > On Fri, Jun 14, 2013 at 10:03:00AM +0200, Łukasz Stelmach wrote: > > Hi. > > > > We are converting some daemons to socket activation. Most of them open > > unix sockets and manage incoming connections in a main-loop,

Re: [systemd-devel] how to end a socket activated daemon

2013-06-14 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jun 14, 2013 at 10:03:00AM +0200, Łukasz Stelmach wrote: > Hi. > > We are converting some daemons to socket activation. Most of them open > unix sockets and manage incoming connections in a main-loop, so the > easiest way to convert it is to create Accept=false socket with systemd. > > No

[systemd-devel] how to end a socket activated daemon

2013-06-14 Thread Łukasz Stelmach
Hi. We are converting some daemons to socket activation. Most of them open unix sockets and manage incoming connections in a main-loop, so the easiest way to convert it is to create Accept=false socket with systemd. Now, it is quite well described how to start such daemon, however, there is littl