supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Robin Bowes <robin-lists@robinbowes.com>
Subject: Re: Migrating from daemontools
Date: Thu, 11 May 2006 10:29:17 +0100	[thread overview]
Message-ID: <446303ED.5080609@robinbowes.com> (raw)
In-Reply-To: <44627A0A.6030404@robinbowes.com>

Robin Bowes wrote:
> Hi,
> 
> I'm about to migrate to runit from daemontools (for licensing reasons).
> 
> Can I just confirm that it is as simple as :
> 
> 1. Install runit
> 2. Create /var/service
> 3. Add to start up (inittab on linux or /etc/rc.local on FreeBSD)
> 4. Re-read inittab (Linux) or reboot (FreeBSD)
> 
> Am I right in thinking that my current scripts should run OK using runsv
> instead of supervise?
> 
> Are there runit equivalents of all daemontools binaries, specifically
> tai64nlocal (I am assuming that sv == svc, svlogd == multilog) ?

One thing I've just found out:

To run daemontools *and* run it at the same time (on Linux) it is
necessary to change the ID at the beginning of the line in inittab, e.g.:

# daemontools
SV:123456:respawn:/command/svscanboot

# runit
SX:123456:respawn:/sbin/runsvdir-start

I initially tried this with both lines starting with "SV" and only
daemontools ran.

R.


  reply	other threads:[~2006-05-11  9:29 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-10 23:40 Robin Bowes
2006-05-11  9:29 ` Robin Bowes [this message]
2006-05-12 15:23 ` Gerrit Pape

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=446303ED.5080609@robinbowes.com \
    --to=robin-lists@robinbowes.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).