Re: invoke-rc.d & systemd

2016-08-08 Thread Jonathan Dowland
On Sun, Aug 07, 2016 at 03:58:50PM +0200, Andre Majorel wrote: > What is a "socket activation" ? Would that by any chance be a > systemd thing to declare that you plan to listen on some port ? It is also possible via various inetd solutions. -- Jonathan Dowland Please do not CC me, I am subscrib

Re: invoke-rc.d & systemd

2016-08-08 Thread Ansgar Burchardt
Henrique de Moraes Holschuh writes: > On Sun, 07 Aug 2016, Ansgar Burchardt wrote: >> That might behave different than expected when current state of the >> daemon and the boot configuration differ: for example the sequence above > > It shouldn't, unless invoke-rc.d is broken. It does as you say y

Re: invoke-rc.d & systemd

2016-08-07 Thread Henrique de Moraes Holschuh
On Sun, 07 Aug 2016, Ansgar Burchardt wrote: > That might behave different than expected when current state of the > daemon and the boot configuration differ: for example the sequence above It shouldn't, unless invoke-rc.d is broken. The whole reason it exists is exactly to account for boot state

Re: invoke-rc.d & systemd

2016-08-07 Thread Henrique de Moraes Holschuh
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 d

Re: invoke-rc.d & systemd

2016-08-07 Thread Andre Majorel
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 > ot

Re: invoke-rc.d & systemd

2016-08-07 Thread Ansgar Burchardt
Andre Majorel writes: > I'm working on a program to make changes to a daemon's > configuration file. The man page helpfully warns against doing > that without immediately restarting it. > > Do you think the following would work on any Debian system, > regardless of its current run level and choice

Re: invoke-rc.d & systemd

2016-08-07 Thread Henrique de Moraes Holschuh
On Sun, 07 Aug 2016, Andre Majorel wrote: > I'm working on a program to make changes to a daemon's > configuration file. The man page helpfully warns against doing > that without immediately restarting it. > > Do you think the following would work on any Debian system, > regardless of its current

invoke-rc.d & systemd

2016-08-07 Thread Andre Majorel
I'm working on a program to make changes to a daemon's configuration file. The man page helpfully warns against doing that without immediately restarting it. Do you think the following would work on any Debian system, regardless of its current run level and choice of init system ? 1. run invoke-r