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,FREEMAIL_FROM,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 11676 invoked from network); 29 Jan 2021 03:07:03 -0000 Received: from alyss.skarnet.org (95.142.172.232) by inbox.vuxu.org with ESMTPUTF8; 29 Jan 2021 03:07:03 -0000 Received: (qmail 25923 invoked by uid 89); 29 Jan 2021 03:07: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 25916 invoked from network); 29 Jan 2021 03:07:25 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to; bh=36x7wAkwp2PvteDetd1RQM83Kf184khCBK6It0vJnaw=; b=ZH8EJwtIFLr9hqhf7X2ZimstezKpOlANFxtaUGfQ8GrKw2vvlIj5wiKrd0xCFePlHY GTIk25nf8Xai1PwhuZMvP2RWnKgepIHYAWmClh6inaHVXPORwyCiBXz25plfAJEtQUpF rYmDaJMf4UpZuKPrvOstlgJb2vbc+1FiK08Rme7/lhNulF6U5FGBeQygO95XZR1+W056 P92NbYsLMKVOfKPASZDLPIuRvY5HNyeRkW55AiwBAeVadFVvTqe3urROqPnQQnlc37Nz XaBiQ5xr82jXYJDbgU6Zj4n8WJj4QYxz8CS6hK27kjvVA+A7vB6iOO0Pm6WvhhhpvNuN xGJw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to; bh=36x7wAkwp2PvteDetd1RQM83Kf184khCBK6It0vJnaw=; b=fcecDLcu9FmTLKwdjziTWfqybnHNn+QOm9VeGtfMaNfFZtEn9beh8aG/1IlftBgX8m Zj2whPJjMYTJMc2sG3EaK2vAMesGPa17GvTueon5iD+RQS334uKDalB9mFLS/Rdhrb3h +7HzNQLbGK2rxZxfGXchNtf4QcDehXc+0iHBpZvRGqIq/KS1MT9d4HH1I/sejP3mg6wX iVOAZ8puMjvT9oWQG5QmZFHZIlPGyIPQILmfOyMkPw8QhUnD+KCijVBbtlIXxodW63+m 5oohDc5YujSS4cw9HC6pJpm2sckTS33ktkbou9FkfdRQSLZLIUOMW7kCEIDNHq0MYrog UoXg== X-Gm-Message-State: AOAM530+DsQaO+FGqtPj/QApds+OPAmkplkKb3dY4PcEEQeZn/Y3nJS/ AENNhhgg7xYMkhExCiyB9KbA6+7LE2A= X-Google-Smtp-Source: ABdhPJyeMCtvD0L3U+1SLdLs4k1RVSSv16JZtl/V+t1h4FlWRPd4UaJ/qBM1QlEmN4vnPgoBHosfgw== X-Received: by 2002:adf:cd10:: with SMTP id w16mr2120780wrm.90.1611889618610; Thu, 28 Jan 2021 19:06:58 -0800 (PST) From: "Casper Ti. Vector" X-Google-Original-From: "Casper Ti. Vector" Date: Fri, 29 Jan 2021 11:06:53 +0800 To: supervision@list.skarnet.org Subject: Re: Some suggestions on old-fashioned usage with s6 2.10.x Message-ID: Mail-Followup-To: supervision@list.skarnet.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: On Thu, Jan 28, 2021 at 10:41:24PM -0300, Guillermo wrote: > Out of curiosity, do you have a reason for wanting to keep the > "old-fashioned way"? Is it a goal of your project to depend on s6 and > s6-rc, but not current s6-linux-init? It seems to me that doing so > would be easier. It even looks like you could use the current > /etc/slew/init/rc.{init,fin} scripts (perhaps with minor adjustments) > as s6-linux-init's rc.init and rc.shutdown for slew, respectively. Not using s6-linux-init has never been an explicit goal, but using static scripts was a natural choice when s6-linux-init only provided `s6-linux-init-maker', which produced scripts that were not that flexible. Currently I do not understand the `s6-linux-init-shutdown(d)' way well, so the old-fashioned way is retained at least for now, given its simplicity in implementation and seemingly better flexibility. Frankly it is my intuition that the new way costs more than the old way, but does not provide that much in return. (Feel free to prove me wrong.) -- My current OpenPGP key: RSA4096/0x227E8CAAB7AA186C (expires: 2022.09.20) 7077 7781 B859 5166 AE07 0286 227E 8CAA B7AA 186C