From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from alyss.skarnet.org (alyss.skarnet.org [95.142.172.232]) by inbox.vuxu.org (Postfix) with SMTP id 9A6EF2200C for ; Fri, 6 Dec 2024 17:11:46 +0100 (CET) Received: (qmail 60787 invoked by uid 89); 6 Dec 2024 16:12:12 -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 60780 invoked from network); 6 Dec 2024 16:12:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1733501502; bh=a+Qnuj4Kufq4mRxOHOq24WwJvYB28TadQyEVUwiebh8=; h=Date:From:To:Subject:References:In-Reply-To:From; b=Ia3uGpkiP68HSOk1VgWvbQQtQT7rRkB9fPdLf2tMEEuaeymAZr97Rho3qu+j68RGN qLcyH8GLdHWyDJ3sLrjGbOEXTbHbUm2mE5Pgr2e3YKKdyYCZcIQrZ0VuocEtXqgI47 2jfZC6BSVAo+0/lXaBUQI12pGtlu2AfLEqGNCc/4= X-Riseup-User-ID: 505952BFB4D3F74BF6BA6CD22BA7BBC07AA7958CCE84875A12167BEF2A133D37 Date: Fri, 6 Dec 2024 17:11:26 +0100 From: =?iso-8859-1?Q?Ho=EBl_B=E9zier?= To: supervision@list.skarnet.org Subject: Re: Have an external script wait for a oneshot service Message-ID: References: <4faed412-6fc0-4833-8f76-b6a74667c869@sopka.ch> <3d1391e4-b240-4675-a839-a34c39d474b3@sopka.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vk3nuL2xJu23fosq" Content-Disposition: inline In-Reply-To: --vk3nuL2xJu23fosq Content-Type: text/plain; protected-headers=v1; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Date: Fri, 6 Dec 2024 17:11:26 +0100 From: =?iso-8859-1?Q?Ho=EBl_B=E9zier?= To: supervision@list.skarnet.org Subject: Re: Have an external script wait for a oneshot service >>Assuming s6-rc is used for the main supervision tree and on login, >>which is fair, since the very thing we discuss about is part of my project >>doing all of that with s6-rc, >>this would cause users to need to learn s6 additionally to s6-rc, >>when s6-rc can be used for all cases. > > The vast majority of services a user will want to have are longruns. >And longruns are run under s6; longrun service definition directories >are pretty much s6 service directories. I don't think it's honest to >say "you only need to learn s6-rc, not s6"; the s6-rc learning curve >*includes* learning at least the fundamentals of s6. As a matter of fact, I=E2=80=99ve setup =E2=80=9Cuser services=E2=80=9D on = my computers (services for=20 one user only actually, I do not care about edge cases since I=E2=80=99m bo= th root and=20 the regular user) a few months ago with s6-rc, and up til now I only have= =20 longruns. I do have though dependencies between these longruns, mostly between the us= er=20 dbus service and other user-specific services that depend on that thing, li= ke=20 pipewire. Not sure it would justify the use of s6-rc, because one could just let pipe= wire=20 start and die until dbus is run. Or consider these services do not make sen= se=20 when the user is not logged in, so that they will be run by s6-rc on login. Ho=C3=ABl --vk3nuL2xJu23fosq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEElZjiR4iQkYjVEGdt6jPCPrF3Nk0FAmdTIi4ACgkQ6jPCPrF3 Nk1cShAAhtcV+ywalFeRc98iQ9iIjrqOmLaSABjNGR8s93Q50YU8Qig9qZNdHmza Hw1+FrzSG5fYKiSJfh3T6oRn2GeeD3lBMpSM7vwVQhKjuKw7PzVchb42+6TOe8ts aMsIFCzO4anq0rVvsbMFgx+TIt4Q0ibEJkcjPYjBAvov4wQlewenos+04VIvXKL7 OqEUJF2fyWCb6owloNSEBpEeLxvZ37LPXsOgFZfl0zf9c8CdMH+qj1bWELnlGor9 /E1Gl4MIp4npdp/AUt+4DCiutiLADStBP4+war34Vn159yJ/kU7P5aAtM8RRuLyJ huPxbwW3TILtUbieDRz1Mlcl+mBLxjk8LH6OjZFEN9e+Xk+jUKLBARO5PfvVRMby GgOz2S35gLaD38QPV7ybJJOu5GUqbqQy6ONY5rtdOloAIACnlvyQ0O1gp4WJnpy+ ZpveEP6P1LTQrXZMoTsmFZfG6M/Im1c30DyTUOIEWfQU+smVRG+Zi96PHlUVHxcA JTGKWEc/lbwOSdkSHR4ryovsbcFVlElbw1ldlUrSbJV3bV+dU93F+HAzefqzbO6g DZWh8qV7vbk2zG5XfgwnzQHr394P/r0AUW73DFX9S0dLLlPI3N3pMwQim0KWqld6 hu1HjWaBThwaMeXiECqIsP5dXBNM3V01HW0j2MdHtBOwEIDTYxM= =fbYw -----END PGP SIGNATURE----- --vk3nuL2xJu23fosq--