Re: [Dovecot] add basic systemd support to dovecot

2010-11-17 Thread Christophe Fergeau
2010/11/17 Timo Sirainen : > > Committed, with some small changes: > http://hg.dovecot.org/dovecot-2.0/rev/84eb4afebc95 Great, thanks a lot! > > I hope it still works :) I'll let you know if it breaks ;) Christophe

Re: [Dovecot] add basic systemd support to dovecot

2010-11-17 Thread Timo Sirainen
On Sun, 2010-11-14 at 22:44 +0100, Christophe Fergeau wrote: > Sorry for the delay in replying, I was away for a few weeks :) I have finally > reworked the patch according to your feedback. Committed, with some small changes: http://hg.dovecot.org/dovecot-2.0/rev/84eb4afebc95 I hope it still wor

Re: [Dovecot] add basic systemd support to dovecot

2010-11-14 Thread Christophe Fergeau
Hi, Sorry for the delay in replying, I was away for a few weeks :) I have finally reworked the patch according to your feedback. On Mon, Oct 25, 2010 at 05:47:20PM +0100, Timo Sirainen wrote: > You can simplify the environment preserving with these changes: > > http://hg.dovecot.org/dovecot-2.0/

Re: [Dovecot] add basic systemd support to dovecot

2010-10-25 Thread Timo Sirainen
On Mon, 2010-10-25 at 17:47 +0100, Timo Sirainen wrote: > > +if HAVE_SYSTEMD > > +dovecot_SOURCES += sd-daemon.c > > +noinst_HEADERS += sd-daemon.h > > +endif > > I don't think this is portable. Or looks like it's already used in lib-sql/Makefile.am. Maybe it works fine then. Or probably doesn't

Re: [Dovecot] add basic systemd support to dovecot

2010-10-25 Thread Timo Sirainen
On Wed, 2010-10-20 at 22:54 +0200, Christophe Fergeau wrote: > What I wanted to ask the list for now is if such a patch is wanted, > and to get feedback on how things are done in it, and what should be > improved in it. [2] and [3] might be useful reading while looking at > the patch. You can si

[Dovecot] add basic systemd support to dovecot

2010-10-20 Thread Christophe Fergeau
Hi all, In the last days, I've been trying to add support for systemd[1] socket activation to dovecot. The basic idea is that systemd takes care of opening the sockets needed by dovecot to communicate with external processes, and when a connection happens on one of these sockets, systemd spawns do