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.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31688 invoked from network); 2 Aug 2021 18:07:41 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 2 Aug 2021 18:07:41 -0000 Received: (qmail 14604 invoked by uid 89); 2 Aug 2021 18:08:04 -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 14597 invoked from network); 2 Aug 2021 18:08:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; h=X-Originating-IP:Date:From:To:Subject:Message-ID:In-Reply-To:References:MIME-Version:Content-Type:Content-Transfer-Encoding; s=default; d=troubleshooters.com; b=Gyw4b1XfkZNYJypJMcoBtrOXon8u/Zr0oTR5MU2v59cdPx6h/pPxAYVscO1x0vN+zTWmdH37fQpcwzzEmTwEp3Pis9ytPc727CUPLHgKNNu6ed54GQrVHkM6ECLnkgebeTO6w84545z0w2gF/Rag7LFoo5Ac/y1mMLDV/955jsQ=; DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=troubleshooters.com; s=default; t=1627927653; bh=KxucrhSbJ+Z7ry2Y+/I7VN/R5l0=; l=794; h=X-Originating-IP:Date:From:To:Subject:Message-ID:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding; b=nmqrujy3Le5HABCFyXqHwQ4jNA/urgn7HIFgz/QCUPQt6ULYmWwWFbYaa3h1qxIyY 2CSdRE7TRzaA455o5IWMrRmrCul5YtxonjDvSDvil2g5UkL1UfFaDRI6B0q7An9nJ0 9hfSIqqIO2h3fxKAmzIUSNcfWjTsFuIIn4GnfMiM= X-Originating-IP: [184.90.157.212] Date: Mon, 2 Aug 2021 14:07:32 -0400 From: Steve Litt To: supervision@list.skarnet.org Subject: Re: S6 Queries Message-ID: <20210802140732.316b9f4d@mydesk.domain.cxm> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Laurent Bercot said on Mon, 02 Aug 2021 08:27:30 +0000 >>2. Are there any ways to have loosely coupling dependencies? In >>systemd, we have After=. After option will help the current service >>to start after the mentioned service (in after). And the current >>service will anyway start even if the mentioned service in After >>fails to start. Do we have such loosely coupled dependency facility >>in S6? > > Not at the moment, no. I thought the way to do what the OP asked is: ============================= #!/bin/sh s6-svc -u myrequirement || exit 1 exec mydaemon -myarg1 -myarg2 ============================= SteveT Steve Litt Spring 2021 featured book: Troubleshooting Techniques of the Successful Technologist http://www.troubleshooters.com/techniques