From: Gerrit Pape <pape@smarden.org>
Subject: Re: Dependencies for runit (again)
Date: Sat, 27 Aug 2005 19:17:54 +0000 [thread overview]
Message-ID: <20050827191757.23596.qmail@2e7744a0987341.315fe32.mid.smarden.org> (raw)
In-Reply-To: <m3acjnys9w.fsf@multivac.cwru.edu>
On Fri, Aug 12, 2005 at 01:32:53PM -0400, Paul Jarc wrote:
> Gerrit Pape <pape@smarden.org> wrote:
> > for i in `ls -1 ./depends/ 2>/dev/null || :`; do
> > sv start $i || exit 1
> > ! test -x /var/service/$i/check || $_ || exit 1
> > done
>
> It would be nice to have this bit as its own command, so a run script
> would only have to call something like "check-depends ./depends"
> without any further duplication of code between run scripts.
With having the sv program now automatically using the ./check script,
this can be replaced with, e.g.
sv start `ls -1 ./depends/ 2>/dev/null || :`
or if the ./depends/ directory contains symlinks
sv start ./depends/*
Regards, Gerrit.
prev parent reply other threads:[~2005-08-27 19:17 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-09 17:03 Mike Bell
2005-08-09 20:34 ` Stefan Karrmann
2005-08-12 17:25 ` Gerrit Pape
2005-08-12 17:32 ` Paul Jarc
2005-08-13 7:32 ` Gerrit Pape
2005-08-27 19:17 ` Gerrit Pape [this message]
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=20050827191757.23596.qmail@2e7744a0987341.315fe32.mid.smarden.org \
--to=pape@smarden.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).