Re: [PATCH weston 0/2] [RFC] Systemd notification support

2013-06-04 Thread Tom Gundersen
Hi Ander, On Tue, Jun 4, 2013 at 3:43 PM, Ander Conselvan de Oliveira wrote: > I was looking into a way of having Weston signal when it is available > for clients to connect, and using systemd seems like a good way to > achieve this. Wouldn't it be even better to allow Weston to be socket activa

[PATCH weston 0/2] [RFC] Systemd notification support

2013-06-04 Thread Ander Conselvan de Oliveira
Hi, I was looking into a way of having Weston signal when it is available for clients to connect, and using systemd seems like a good way to achieve this. The idea here is to have Weston inform SystemD that it is ready, by calling sd_notify() just before entering the main loop. SystemD expects th