Subject: Re: bug#54811: [PATCH 0/3] Support socket activation in 'guix publish' and 'guix-daemon'

From: Maxime Devos <[email-masked]>
Date: Mon, 11 Apr 2022 12:10:23 +0200

Ludovic Courtès schreef op ma 11-04-2022 om 11:48 [+0200]:
> > > One thing is sure: when ‘--advertise’ is used, we shouldn’t use
> > > socket
> > > activation or nothing will be advertised.  Is that what you mean?
> > 
> > No, how would socket activation prevent advertising?
> 
> As currently implemented in the Shepherd, socket activation means
> that
> the process is started lazily, the first time a connection request is
> made.  If the ‘guix publish’ process isn’t started, then DNS-SD
> publication doesn’t happen.

Right, the DNS-SD publication would only happen when ‘guix publish’ is
contacted directly, e.g. somebody doing "guix build --substitute-
urls=http://...".

Greetings,
Maxime.