Received: from mx1.tetrasec.net (mx1.tetrasec.net [66.245.176.36]) by nld3-dev1.alpinelinux.org (Postfix) with ESMTPS id D8BAF781059 for <~alpine/devel@lists.alpinelinux.org>; Thu, 27 Aug 2020 13:20:30 +0000 (UTC) Received: from mx1.tetrasec.net (mail.local [127.0.0.1]) by mx1.tetrasec.net (Postfix) with ESMTP id CA43BFA987; Thu, 27 Aug 2020 13:20:29 +0000 (UTC) Received: from yavin4.bsod.eu (unknown [172.21.190.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: francesco@bsod.eu) by mx1.tetrasec.net (Postfix) with ESMTPSA id 6B183FA97E; Thu, 27 Aug 2020 13:20:29 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 27 Aug 2020 13:20:29 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.14.0 From: "Francesco Colista" Message-ID: Subject: Re: Use of supervise-daemon in Alpine To: "Leonardo" , "Natanael Copa" Cc: ~alpine/devel@lists.alpinelinux.org, "=?utf-8?B?U8O2cmVuIFRlbXBlbA==?=" In-Reply-To: References: <3LLUI2KOULSYM.359WA6HATX45B@8pit.net> <20200821191507.7857010b@ncopa-macbook.copa.dup.pw> 27 agosto 2020 14:49, "Leonardo" wrote:=0A=0A =0A> So = what should be the approach? I see:=0A> =0A> 1. let the developer choose = between supervised/unsupervised daemon=0A> =0A> 2. provide two init scrip= ts, supervised and unsupervised=0A> =0A> 3. provide an "hybrid" init scri= pt which has a configurable user option=0A> to choose between supervised/= unsupervised daemon=0A> =0A> 4. other?=0A> =0A> I'm asking these question= s because I got for the first time a MR which=0A> adopts solution 2, whic= h I never saw so far. It seems to me that=0A> solution 1 was adopted so f= ar.=0A> =0A> Or if there's no single solution, which should be avoided?= =0A=0AI would for the second option, because:=0A=0A1. I'm the author of t= he MR :)=0A2. Is the most flexible solution:=0A=0AOption n.1 is a limitat= ion, option n.3 is difficult to maintain if/when we are going to implemen= t other supervisor, like s6.=0AThe second option allow also the two init = to co-exists, which in some corner cases this might be wanted.=0A=0A=0A.:= Francesco Colista=0A.: Alpine Linux Core Dev Team