Re: runsvdir does not run runsv recursively, as is documented.

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Wed, 03 Aug 2022 13:58:49 +0000

>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

  That's not what the man page means. The "subdirectories" are
subdirectories *of dir*.
  runsvdir will understand service/Foo, and service/bar, but it will not
understand service/Foo/bar.

  The exception is if you have a service/Foo/log directory, but that's
handled by runsv, not runsvdir: service/Foo/log is a logger for
service/Foo.

--
  Laurent
Received on Wed Aug 03 2022 - 15:58:49 CEST

This archive was generated by hypermail 2.4.0 : Wed Aug 03 2022 - 15:59:19 CEST