From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31091 invoked from network); 3 Aug 2022 13:58:51 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 3 Aug 2022 13:58:51 -0000 Received: (qmail 8851 invoked by uid 89); 3 Aug 2022 13:59:16 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Received: (qmail 8844 invoked from network); 3 Aug 2022 13:59:16 -0000 From: "Laurent Bercot" To: "Martin Castillo" , supervision@list.skarnet.org Subject: Re: runsvdir does not run runsv recursively, as is documented. Date: Wed, 03 Aug 2022 13:58:49 +0000 Message-Id: In-Reply-To: <28793704-f008-eb8a-ff3a-31bc9ba1d0a6@uni-bremen.de> References: <28793704-f008-eb8a-ff3a-31bc9ba1d0a6@uni-bremen.de> Reply-To: "Laurent Bercot" User-Agent: eM_Client/9.0.1708.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >I'm trying to set up services, which are in subdirectories of other servic= es. This is supported, according to the second paragraph of the runsvdir ma= n 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