From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/2544 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Colin Booth Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: S6 readiness Date: Fri, 26 Apr 2019 16:39:31 +0000 Message-ID: <20190426163931.4qkzqvmkbvztbce3@cathexis.xen.prgmr.com> References: <20190426172926.0ab61a99@flunder> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="6482"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20170113 (1.7.2) To: supervision@list.skarnet.org Original-X-From: supervision-return-2134-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Apr 26 18:39:39 2019 Return-path: Envelope-to: gcsg-supervision@m.gmane.org Original-Received: from alyss.skarnet.org ([95.142.172.232]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hK3sv-0001Z6-Ae for gcsg-supervision@m.gmane.org; Fri, 26 Apr 2019 18:39:37 +0200 Original-Received: (qmail 15006 invoked by uid 89); 26 Apr 2019 16:40:02 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm Original-Sender: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 14999 invoked from network); 26 Apr 2019 16:40:02 -0000 Content-Disposition: inline In-Reply-To: <20190426172926.0ab61a99@flunder> Xref: news.gmane.org gmane.comp.sysutils.supervision.general:2544 Archived-At: 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@automatic-server.com > Tel: +41 71 511 31 11 | Mobile: +41 76 330 03 47 -- Colin Booth