Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #170803
| From | Henrique de Moraes Holschuh <hmh@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: invoke-rc.d & systemd |
| Date | 2016-08-07 15:40 +0200 |
| Message-ID | <s3wt3-4nL-29@gated-at.bofh.it> (permalink) |
| References | <s3vGF-3OS-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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 run level and choice of init system ? > > 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. -- "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
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
invoke-rc.d & systemd Andre Majorel <aym-naibed@teaser.fr> - 2016-08-07 14:50 +0200
Re: invoke-rc.d & systemd Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-07 15:40 +0200
Re: invoke-rc.d & systemd Andre Majorel <aym-naibed@teaser.fr> - 2016-08-07 16:20 +0200
Re: invoke-rc.d & systemd Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-07 17:00 +0200
Re: invoke-rc.d & systemd Jonathan Dowland <jmtd@debian.org> - 2016-08-08 11:30 +0200
Re: invoke-rc.d & systemd Ansgar Burchardt <"Ansgar Burchardt"@43-1.org> - 2016-08-07 16:00 +0200
Re: invoke-rc.d & systemd Henrique de Moraes Holschuh <hmh@debian.org> - 2016-08-07 17:10 +0200
Re: invoke-rc.d & systemd Ansgar Burchardt <"Ansgar Burchardt"@43-1.org> - 2016-08-08 10:10 +0200
Re: invoke-rc.d Jonathan de Boyne Pollard <J.deBoynePollard-newsgroups@NTLWorld.com> - 2016-08-08 11:00 +0200
csiph-web