supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Martin Castillo <castilma@uni-bremen.de>
To: supervision@list.skarnet.org
Subject: runsvdir does not run runsv recursively, as is documented.
Date: Wed, 3 Aug 2022 15:22:38 +0200	[thread overview]
Message-ID: <28793704-f008-eb8a-ff3a-31bc9ba1d0a6@uni-bremen.de> (raw)

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

Hi,

I'm trying to set up services, which are in subdirectories of other 
services. This is supported, according to the second paragraph of the 
runsvdir man page:

runsvdir starts a runsv(8) process for each subdirectory,  or
symlink  to a directory, in the services directory dir, up to
a limit of  1000  subdirectories,

In my directory service/ I have:
Foo
Foo/run
Foo/bar
Foo/bar/run

After running runsvdir service, I expect two runsv instances to be 
running. One for Foo, one for bar. But on my system, only one instance 
for Foo is running, and bar/run is not being executed.

I have runit 2.1.2-29.

Has this feature been removed without updating the manpage?
I did not find anything in the archive.

Martin Castillo

To test this I used (also attached):
Foo/run:
#!/bin/bash
while :; do
	echo -n "FOO ";	date; sleep 3;
done

Foo/bar/run
#!/bin/bash
while :; do
	echo -n "BAR ";	date; sleep 3;
done

[-- Attachment #2: foo.tgz --]
[-- Type: application/x-compressed-tar, Size: 257 bytes --]

             reply	other threads:[~2022-08-03 13:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 13:22 Martin Castillo [this message]
2022-08-03 13:58 ` Laurent Bercot

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=28793704-f008-eb8a-ff3a-31bc9ba1d0a6@uni-bremen.de \
    --to=castilma@uni-bremen.de \
    --cc=supervision@list.skarnet.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).