From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/808 Path: news.gmane.org!not-for-mail From: Gilles Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: "djbdns" under "runit" (Debian)? Date: Tue, 17 May 2005 15:20:00 +0200 Message-ID: <20050517132000.GC14500@harfang.homelinux.org> References: <20050516001901.GA7888@harfang.homelinux.org> <4288F7F3.7030607@gmail.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116336057 28553 80.91.229.2 (17 May 2005 13:20:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 May 2005 13:20:57 +0000 (UTC) Original-X-From: supervision-return-1044-gcsg-supervision=m.gmane.org@list.skarnet.org Tue May 17 15:20:44 2005 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by ciao.gmane.org with smtp (Exim 4.43) id 1DY1z8-00012W-By for gcsg-supervision@gmane.org; Tue, 17 May 2005 15:19:46 +0200 Original-Received: (qmail 1850 invoked by uid 76); 17 May 2005 13:20:42 -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 1844 invoked from network); 17 May 2005 13:20:42 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <4288F7F3.7030607@gmail.com> X-Operating-System: Tiny Tux X-PGP-Key-Fingerprint: 53B9 972E C2E6 B93C BEAD 7092 09E6 AF46 51D0 5641 User-Agent: Mutt/1.5.9i X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gilles@harfang.homelinux.org X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on dawn.harfang.homelinux.org X-Spam-Level: X-Spam-Status: No, score=-5.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.2 X-SA-Exim-Version: 4.2 (built Thu, 03 Mar 2005 10:44:12 +0100) X-SA-Exim-Scanned: Yes (on localhost) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:808 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:808 > > run: > #!/bin/sh > # link stdout and stderr, so they both get logged > exec 2>&1 > # put the file seed on the stdin file descriptor, so that dnscache can > # read it > exec # run dnscache with the envars in ./env > exec chpst -e ./env /usr/sbin/dnscache > > log/run: > #!/bin/sh > exec svlogd -tt /var/log/dnscache > Thanks. Gerrit, May I suggest to add that script (or similar) to the list on http://smarden.org/runit/runscripts.html Best regards, Gilles