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