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=0.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 8441 invoked from network); 8 Sep 2021 14:24:25 -0000 Received: from 4ess.inri.net (216.126.196.42) by inbox.vuxu.org with ESMTPUTF8; 8 Sep 2021 14:24:25 -0000 Received: from mimir.eigenstate.org ([206.124.132.107]) by 4ess; Wed Sep 8 10:18:29 -0400 2021 Received: from abbatoir.myfiosgateway.com (pool-74-108-56-225.nycmny.fios.verizon.net [74.108.56.225]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id a83699e9 (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9front@9front.org>; Wed, 8 Sep 2021 07:18:08 -0700 (PDT) Message-ID: To: 9front@9front.org Date: Wed, 08 Sep 2021 10:18:07 -0400 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: converged database-oriented STM controller Subject: Re: [9front] plumber: remove $plumbsrv, add optional srvname, usage check Reply-To: 9front@9front.org Precedence: bulk Quoth qwx@sciops.net: > Plumber both posts a service to /srv and sets a $plumbsrv environment > variable. Our libplumb no longer uses $plumbsrv and nothing else > does. It's a silly hack; rc doesn't update /env immediately, and > scripts, which for instance set up subrios, cannot rely on it to > clean up the plumber at the end. > > Instead, add the option to specify a srvname, actually check for some > common errors and print a usage string. > > Thanks to Ori for input and a preliminary patch. Thoughts? > > Cheers, > qwx > Since this removes '$srvname': is anyone using it at the moment? otherwise, this looks good to me.