From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2779 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Steve Litt Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: s6 usability Date: Sun, 22 Dec 2019 20:57:19 -0500 Message-ID: <20191222205719.7f96f939@mydesk.domain.cxm> References: <20191125214342.y7lx5mixrljr6s27@gromit.local> <20191127203307.ohaameqfgncm52h5@gromit.local> <20191129140901.klifpegc74iv4zul@klumpi.ignorelist.com> <20191221092639.p5iid3y3csmni4iw@klumpi.ignorelist.com> <20191222153327.6ee088bd@mydesk.domain.cxm> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="33941"; mail-complaints-to="usenet@blaine.gmane.org" To: supervision@list.skarnet.org Original-X-From: supervision-return-2368-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Dec 23 02:57:24 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1ijCyJ-0008hs-Lv for gcsg-supervision@m.gmane.org; Mon, 23 Dec 2019 02:57:24 +0100 Original-Received: (qmail 10938 invoked by uid 89); 23 Dec 2019 01:57:49 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Original-Received: (qmail 10931 invoked from network); 23 Dec 2019 01:57:48 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; h=X-Originating-IP:Date:From:To:Subject:Message-ID:In-Reply-To:References:X-Mailer:MIME-Version:Content-Type:Content-Transfer-Encoding; s=default; d=troubleshooters.com; b=YkcpI6eHyyA6jTu0+Ce2BdxpJ/dwuWc5dQjOU5MG7QXKCSTkbxdkV0Db32acgZ4kXyEdZIck3Y/q0x4asCxjrPG1CeJWtXcysCm4hf2Wgig/pjKRJ4+87ldKQkcwEXWKEIBmqTJB73KhfeBPArE3RO0qGZS+cFQ8OqVEjhsfFHw=; DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; d=troubleshooters.com; s=default; t=1577066240; bh=UT+8Jkam9MynEIiFnpLssTA5f0g=; l=1487; h=X-Originating-IP:Date:From:To:Subject:Message-ID:In-Reply-To: References:X-Mailer:MIME-Version:Content-Type: Content-Transfer-Encoding; b=jQ4dD6wJL/LzHzy3EhgNSO8usRPCqUPRF8ZzWlQChIupqqxkce5r1bzzKkRqCxuos KjKtPfiHpu41tSqU43YfCrXuCGy5b0wlx4PWWhVshyGFc9+5h+iXiA3nONCG8REWvd YdGS1iOW9Q+SwHxyDIUn/dyhrq/Kj0CjqHSlsqlI= X-Originating-IP: [72.188.224.222] In-Reply-To: X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-unknown-linux-gnu) Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2779 Archived-At: On Sun, 22 Dec 2019 23:20:03 +0000 "Laurent Bercot" wrote: > >That being said, is having your stuff on the executable path such an > >advantage? > > I don't know, why does Unix like to have its binaries in /bin? Why > does PATH exist? What is the nature of an executable? You have two > hours. > > > >December 2019 featured book: Rapid Learning for the 21st Century > > Ah, so that's your secret. Rapid learning and rapid forgetting. You can sling all the insults you want, but the fact is, putting all your stuff for a single software group into one tree, outside of the path, and accessing it with a prepath script that perhaps does a cd and sets other environment variables that you'll need makes a tidy little package, with no name conflicts. You can "uninstall" it with a simple tree delete. Depending on dependencies and architecture and the way your software's written, you might be able to copy it to another computer with cp -Rp or rsync -va. It's very easy to examine. The UNIX way, with /usr/bin and /usr/local/bin and the rest, is just fine with me, as long as the distro cooperates. But if the distro fails to carry out the intent of your software, there are worse things than putting it all in one directory or tree, prepathing their location, and running it that way. SteveT Steve Litt December 2019 featured book: Rapid Learning for the 21st Century http://www.troubleshooters.com/rl21