git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] systemd socket activation support

From
Shawn Landden <shawn@churchofgit.com>
Date
Apr 2, 2015, 16:18 UTC
Message-ID
<CAJusiZWBZpoUpD-nOtBbHOWYsQGT=roe1Qvx0u-AogjasyGmJg@mail.gmail.com>
In-Reply-To
<xmqq4moyleh3.fsf@gitster.dls.corp.google.com>
On Thu, Apr 2, 2015 at 8:47 AM, Junio C Hamano <gitster@pobox.com> wrote:
Show 26 quoted lines
> Eric Sunshine <sunshine@sunshineco.com> writes:
>
>> 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.

There is a libsystemd, but when we are using so little of it it seems cleaner to being it to us instead. I can do that in the next patch.... along with build conditional.

-- 
Shawn Landden
Previous: Junio C Hamano
Message 4 of 4 in “systemd socket activation support”
  1. systemd socket activation supportShawn Landden, Apr 2, 2015
  2. Eric SunshineApr 2, 2015
  3. Junio C HamanoApr 2, 2015
  4. Shawn LanddenApr 2, 2015

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.