supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
* Docs for using runit with upstart
@ 2006-11-01 10:57 Lloyd Zusman
  2006-11-01 11:45 ` Gerrit Pape
  0 siblings, 1 reply; 2+ messages in thread
From: Lloyd Zusman @ 2006-11-01 10:57 UTC (permalink / raw)


I recently posted the following message on the list.smarden.org
mailing list.  I thought it might also be of interest here ...

There's a replacement for /etc/inittab processing called "upstart" that
is currently being used in Ubuntu linux and possibly other places (see
http://upstart.ubuntu.com/).  I got runit going under this environment,
and I thought it would be useful to add upstart instructions to the
"runit - use with traditional init" documentation that's located at
http://smarden.org/runit/useinit.html

I'd like to offer the following documentation to be added right below
the "Using with sysvinit" section:

  Using with sysvinit and upstart

  If your system uses a sysvinit alike init scheme that utilizes
  upstart instead of inittab, and which has start and stop scripts
  located in /etc/event.d, do:

   # cat >/etc/event.d/SV <<EOT
   # for runit - manage /sbin/runsvdir-start
   start on runlevel-2
   start on runlevel-3
   start on runlevel-4
   start on runlevel-5
   stop on shutdown
   respawn /sbin/runsvdir-start
   EOT

  and tell init to re-read its configuration, e.g.:

   # init q

As part of this, I'd also recommend changing the current heading
"Using with sysvinit" to "Using with sysvinit and inittab", or
some such thing.


-- 
 Lloyd Zusman
 ljz@asfast.com
 God bless you.



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

* Re: Docs for using runit with upstart
  2006-11-01 10:57 Docs for using runit with upstart Lloyd Zusman
@ 2006-11-01 11:45 ` Gerrit Pape
  0 siblings, 0 replies; 2+ messages in thread
From: Gerrit Pape @ 2006-11-01 11:45 UTC (permalink / raw)


On Wed, Nov 01, 2006 at 05:57:09AM -0500, Lloyd Zusman wrote:
> I recently posted the following message on the list.smarden.org
> mailing list.  I thought it might also be of interest here ...

Yes, this is the correct list.

> There's a replacement for /etc/inittab processing called "upstart" that
> is currently being used in Ubuntu linux and possibly other places (see
> http://upstart.ubuntu.com/).  I got runit going under this environment,
> and I thought it would be useful to add upstart instructions to the
> "runit - use with traditional init" documentation that's located at
> http://smarden.org/runit/useinit.html
> 
> I'd like to offer the following documentation to be added right below
> the "Using with sysvinit" section:
> 
>   Using with sysvinit and upstart

Thanks a lot Lloyd.  I look forward to check this out when time permits,
and integrate it into the documentation then.

Regards, Gerrit.


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

end of thread, other threads:[~2006-11-01 11:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-01 10:57 Docs for using runit with upstart Lloyd Zusman
2006-11-01 11:45 ` Gerrit Pape

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).