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, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 529 invoked from network); 18 Aug 2022 11:41:01 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 18 Aug 2022 11:41:01 -0000 Received: (qmail 10943 invoked by uid 89); 18 Aug 2022 11:41:26 -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 10936 invoked from network); 18 Aug 2022 11:41:26 -0000 From: "Laurent Bercot" To: supervision@list.skarnet.org Subject: Re: Pattern for multiple subservices and dynamic discovery i.e. VPN Date: Thu, 18 Aug 2022 11:40:58 +0000 Message-Id: In-Reply-To: <20220818113230.11f70deb@flunder.oschad.de> References: <20220817103258.59b7f3a0@flunder.oschad.de> <20220818113230.11f70deb@flunder.oschad.de> Reply-To: "Laurent Bercot" User-Agent: eM_Client/9.1.2109.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable >- we need an scanning component for the desired state of running > instances (something like 'find /etc/openvpn -name "*conf"') >- we need an scanning component for the current state in process list >- we need a diffing component >- we need a state applier component That sounds very much like what is planned for s6-rc v1, so I think you will like it when it drops - but it won't be in the near future. However, I have some ideas for new s6 tools that wouldn't follow this model directly but would make it easy for users to create and delete new instance models, and add/remove instances - so your components could be implemented over these tools by simple shell scripts. I'll try to work on that soon. -- Laurent