From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1112 Path: news.gmane.org!not-for-mail From: Robin Bowes Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: Migrating from daemontools Date: Thu, 11 May 2006 10:29:17 +0100 Message-ID: <446303ED.5080609@robinbowes.com> References: <44627A0A.6030404@robinbowes.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1147339808 5082 80.91.229.2 (11 May 2006 09:30:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 11 May 2006 09:30:08 +0000 (UTC) Original-X-From: supervision-return-1348-gcsg-supervision=m.gmane.org@list.skarnet.org Thu May 11 11:30:06 2006 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1Fe7U3-0000Iq-FR for gcsg-supervision@gmane.org; Thu, 11 May 2006 11:29:23 +0200 Original-Received: (qmail 27237 invoked by uid 76); 11 May 2006 09:29:44 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 27231 invoked from network); 11 May 2006 09:29:43 -0000 X-Spam-Status: No, hits=-4.3 required=8.0 tests=ALL_TRUSTED,BAYES_00,TW_SV X-Spam-Check-By: batmobile.robinbowes.com User-Agent: Thunderbird 1.5.0.2 (X11/20060501) Original-To: supervision@list.skarnet.org In-Reply-To: <44627A0A.6030404@robinbowes.com> X-Enigmail-Version: 0.94.0.0 Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1112 Archived-At: 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.