Re: [PATCH] systemd socket activation support
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Apr 2, 2015, 15:47 UTC
- Message-ID
- <xmqq4moyleh3.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <CAPig+cQVLGAYKNJf2dZGpnZbU-GBzeVKpQG48cpFtX8uYZ_LPQ@mail.gmail.com>
Eric Sunshine <sunshine@sunshineco.com> writes:
Show 12 quoted lines
> On Wed, Apr 1, 2015 at 9:23 PM, Shawn Landden <shawn@churchofgit.com> wrote: >> From: Shawn Landden <shawnlandden@gmail.com> >> >> [PATCH] systemd socket activation support > > This patch feels like an RFC rather than a properly fleshed-out > submission. If so, indicate such in the subject. Also, mention the > area you're touching, followed by a colon, followed by the summary of > the change: > > [PATCH/RFC] daemon: add systemd support > ...
Everything Eric said ;-)
Another thing is that this must be a build-time conditional. Not all platforms can use systemd in the first place, and some people may choose not to use it even if the platform is capable of.
I was somewhat surprised that sd-daemon.c needed to be built on our side, not used from systemd support library, as what it did looked very common and not specific to our needs. I would have expected to see inclusion of "sd-daemon.h" with -lsystemd-daemon or something on the command line.