Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #170802

invoke-rc.d & systemd

From Andre Majorel <aym-naibed@teaser.fr>
Newsgroups linux.debian.user
Subject invoke-rc.d & systemd
Date 2016-08-07 14:50 +0200
Message-ID <s3vGF-3OS-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Thanks in advance.

-- 
André Majorel <http://www.teaser.fr/~amajorel/>
Dear spammer : the email addresses in this message have been
brought to you by bugs.debian.org.

Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread


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