Re: "Back off" setting for crashing services with s6+openrc?

From: John W Higgins <wishdev_at_gmail.com>
Date: Thu, 22 Sep 2022 13:21:46 -0700

Good Day,

On Thu, Sep 22, 2022 at 1:13 PM Tor Rune Skoglund <trs_at_fourc.eu> wrote:
...

> As a generic question, is there any setting with this s6+openrc config
> that would make s6 "back off" a configurable number of seconds before
> doing the restart?
>
>
Does something as simple as changing your run script to be something like

run_my_crashing_app || sleep 10

Work? The run script will sit there for 10 seconds if your app fails. Not
built in - but should accomplish the task pretty easily.

John W Higgins
Received on Thu Sep 22 2022 - 22:21:46 CEST

This archive was generated by hypermail 2.4.0 : Thu Sep 22 2022 - 22:22:30 CEST