Re: s6 ordering and run-once?

From: Steve Litt <slitt_at_troubleshooters.com>
Date: Tue, 16 Jun 2015 20:58:35 -0400

On Wed, 17 Jun 2015 01:07:01 +0200
Laurent Bercot <ska-supervision_at_skarnet.org> wrote:

> On 16/06/2015 23:33, Steve Litt wrote:
> > Hi all,

> > Does anyone know how to do a run-once service without putting an
> > infinite sleep loop at the end?
>
> Oneshots are not meant to be supervised. Don't create a service
> directory for a oneshot. You'd run your oneshots exactly as you'd do
> with runit or daemontools: in a separate script.
> Intermixing oneshots and longruns is complex, it requires real
> dependency management, which is more than a process supervision suite
> does - supervision only handles longruns.

What do you do if a oneshot requires that a longrun is already running?


SteveT

Steve Litt
June 2015 featured book: The Key to Everyday Excellence
http://www.troubleshooters.com/key
Received on Wed Jun 17 2015 - 00:58:35 UTC

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