On Wed, Jan 23, 2013 at 03:59:59PM +0100, Michael Biebl wrote:
> Hi Roger,
> 
> On 23.01.2013 14:31, Roger Leigh wrote:
> > Until (and if) this is made possible, it certainly looks like
> > invoke-rc.d is probably not the ideal interface to use here.
> 
> What would be your recommendation? Call the init script directly?

I'm not sure I have a particularly good one.  Other daemons e.g.
postfix use the daemon directly for this e.g. "postfix flush",
rather than extending the init script.  In general, the actions
that the init scripts and tools allow are restricted to the usual
start/stop/restart/reload/status etc. and our tools don't
support extra actions (though it's certainly possible to add
them).  For cases where you want to send commands to the daemon
that are not one of the above, it's really not in the (existing)
intended scope of an init script.

For the time being, I think signalling the running daemon
directly is probably OK.  If supporting extended stuff across
init systems is needed, then we can certainly look at how best
to address this in invoke-rc.d, init scripts, etc. in jessie.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux    http://people.debian.org/~rleigh/
 `. `'   schroot and sbuild  http://alioth.debian.org/projects/buildd-tools
   `-    GPG Public Key      F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to