From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1874 Path: news.gmane.org!not-for-mail From: George Georgalis Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: FHS compatibility for daemontools/runit Date: Mon, 19 May 2008 18:19:27 -0400 Message-ID: <20080519221927.GA28511@sadie.duo> References: <20080519095426.5deb95fb@alloy.copperisle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1211235590 24630 80.91.229.12 (19 May 2008 22:19:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2008 22:19:50 +0000 (UTC) To: supervision@list.skarnet.org Original-X-From: supervision-return-2109-gcsg-supervision=m.gmane.org@list.skarnet.org Tue May 20 00:20:27 2008 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1JyDiM-0008U8-Fw for gcsg-supervision@gmane.org; Tue, 20 May 2008 00:20:18 +0200 Original-Received: (qmail 26125 invoked by uid 76); 19 May 2008 22:19:51 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 26097 invoked from network); 19 May 2008 22:19:50 -0000 Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20080519095426.5deb95fb@alloy.copperisle.com> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1874 Archived-At: On Mon 19 May 2008 at 09:54:26 AM +0000, Wayne Marshall wrote: >It is trivial to obtain FHS compatibility with daemontools/runit. > >1) Install service definitions on /var, e.g.: > > /var/service.d/ > >2) Setup the service activation directory in /etc, e.g.: > > /etc/service/ > >3) Configure startup of svscan/runsvdir to monitor the service >activation directory, /etc/service. > >4) To activate a service, symlink its service definition >directory into the service activation directory: > > # cd /etc/service > # ln -s /var/service.d/qmail-start > >That's all there is to it. All run-time files are created and >maintained on /var, the root partition may be mounted read-only >(after making service activation symlinks), it is both possible >and sensible to keep multilogs within each respective service >definition directory, and no other symlink gymnastics are >required. > >For pure djb compatibility, symlink /service --> /etc/service. > What about run scripts in var? And there is this: Applications must generally not add directories to the top level of /var. Such directories should only be added if they have some system-wide implication, and in consultation with the FHS mailing list. ...from fhs-2.3. // George -- George Georgalis, information system scientist <