Re: Some suggestions about s6 and s6-rc

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Sun, 20 Sep 2015 11:26:00 +0200

On 20/09/2015 07:30, Steve Litt wrote:
> Yes. The use of a file called "down" to tell the system not to run the
> process, and also the use of a script called "down" to perform an
> action at the appropriate time, will be holy hell to document, even if
> theoretically they cannot both happen in the same script directory.

  I don't think so. The confusion happened here because we're talking
in a vacuum; when you use the tool, it's clear enough. You'll see.


> Also, don't be sure that they can't happen in the same script
> directory. LittKit uses daemontools-style "down" files for both
> oneshots and longruns, and there are probably other workarounds out
> there that do the same thing. They'll all break upon the introduction
> of a script called "down".

  They won't with s6-rc. A definition directory is not a service
directory. Your scripts will work, don't worry.

-- 
  Laurent
Received on Sun Sep 20 2015 - 09:26:00 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC