On Fri, Apr 26, 2019 at 05:29:26PM +0200, Oliver Schad wrote:
> Hi everybody,
>
> because we have that topic: in the case a service doesn't support
> itself the interaction with readiness, a watching peace of code would
> be nice (checking open port, checking HTTP call, ...).
>
> How to model that with s6?
>
> Best Regards
> Oli
See the s6-notifyoncheck program in the s6 suite. It emulates the check
script mechanics from runit but instead of being attached to the control
program (s6-svc) it emits readiness notifications.
>
> --
> Automatic-Server AG •••••
> Oliver Schad
> Geschäftsführer
> Turnerstrasse 2
> 9000 St. Gallen | Schweiz
>
> www.automatic-server.com | oliver.schad_at_automatic-server.com
> Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47
--
Colin Booth
Received on Fri Apr 26 2019 - 16:39:31 UTC