From: Gilles <gilles@harfang.homelinux.org>
Subject: Re: "djbdns" under "runit" (Debian)?
Date: Tue, 17 May 2005 15:20:00 +0200 [thread overview]
Message-ID: <20050517132000.GC14500@harfang.homelinux.org> (raw)
In-Reply-To: <4288F7F3.7030607@gmail.com>
>
> 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 <seed
> # 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
next prev parent reply other threads:[~2005-05-17 13:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-16 0:19 Gilles
2005-05-16 0:30 ` mike
2005-05-16 0:57 ` Gilles
2005-05-16 2:08 ` mike
2005-05-16 19:55 ` Csillag Tamás
2005-05-16 1:13 ` Charlie Brady
2005-05-16 1:53 ` Gilles
2005-05-16 2:22 ` mike
2005-05-16 19:43 ` TheOldFellow
2005-05-17 13:20 ` Gilles [this message]
2005-05-17 13:49 ` 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=20050517132000.GC14500@harfang.homelinux.org \
--to=gilles@harfang.homelinux.org \
/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).