supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* runit and lsb init script actions
@ 2005-04-10 15:15 Gerrit Pape
  2005-04-10 17:00 ` Charlie Brady
  2005-04-19 22:05 ` Csillag Tamás
  0 siblings, 2 replies; 4+ messages in thread
From: Gerrit Pape @ 2005-04-10 15:15 UTC (permalink / raw)


Hi, one thing that has been requested for runit multiple times is lsb
compliance concerning 'init script' actions, see

 http://refspecs.freestandards.org/LSB_2.1.0/LSB-Core-generic/LSB-Core-generic.html#INISCRPTACT

It seems to be quite possible to implement an lsb compliant interface
through a separate program that runs runsvctrl up, down, term, hup, ...,
depending on the command line arguments.  For service daemons that don't
do the right thing on up, down, term, hup, ..., it's possible to
override the actions through the customized control scripts in
<service>/control/.  This separate program may be symlinked to
/etc/init.d/<service>, or used as a wrapper, and maybe fall back to an
original /etc/init.d/<service> script in case the service doesn't run
under runit's supervision.

What do you think?

Thanks, Gerrit.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-04-19 22:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-10 15:15 runit and lsb init script actions Gerrit Pape
2005-04-10 17:00 ` Charlie Brady
2005-04-18 19:17   ` Gerrit Pape
2005-04-19 22:05 ` Csillag Tamás

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).