Re: staggering runsv startup

From: Steve Litt <slitt_at_troubleshooters.com>
Date: Thu, 4 Jun 2015 18:03:44 -0400

On Thu, 04 Jun 2015 14:44:38 -0700
Jameson Graef Rollins <jrollins_at_finestructure.net> wrote:

> On Thu, Jun 04 2015, Lucy Pseudonym <ne.tetewi_at_gmail.com> wrote:
> > You can create `down` files in the service dirs as described in [1]
> > and enable the services from a script at boot time.
>
> Hi, Lucy. That's an interesting suggestion. It would require
> building out more/other infrastructure, though, which is something I
> was trying to avoid. I'm also already using the `down` files to
> control which services are started at boot. If I did what you
> suggest it would require managing the startup list in some other
> way. Thanks for the suggestion, though. It is an idea I hadn't
> considered.
>
> jamie.

put "reallydown" files in services you truly intend to be down, and
have the script that deletes them not delete them if there's a
"reallydown" file.

Obviously this is kludge city, but I think what you really need is
ordering of the managed services, and as far as I know, no daemontools
inspired program does that in a straightforward manner.

SteveT

Steve Litt
June 2015 featured book: The Key to Everyday Excellence
http://www.troubleshooters.com/key
Received on Thu Jun 04 2015 - 22:03:44 UTC

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