[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: invoke-rc.d & systemd



On Sun, 07 Aug 2016, Andre Majorel wrote:
> On 2016-08-07 10:19 -0300, Henrique de Moraes Holschuh wrote:
> > On Sun, 07 Aug 2016, Andre Majorel wrote:
> > > 1. run invoke-rc.d daemon-package stop
> > > 2. update config file
> > > 3. run invoke-rc.d daemon-package start
> >
> > That works, but it doesn't take into account any socket activation or
> > other such functionality (which *is* a bug in invoke-rc.d that has not
> > been fixed yet).  You have to manually account for such uses and
> > explicitly disable them as well around the config change, at least for
> > now.
> 
> Thanks. Are you referring to this ?
> 
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=734766
> 
> What is a "socket activation" ? Would that by any chance be a
> systemd thing to declare that you plan to listen on some port ?

Yes.  And it can only happen if you have a systemd unit that enables it
explicitly (AFAIK, ending in .socket), so it should be easy to account
for.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


Reply to: