From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/1592 Path: news.gmane.org!not-for-mail From: "rehan khan" Newsgroups: gmane.comp.sysutils.supervision.general Subject: RE: Customised control help Date: Wed, 2 Jan 2008 17:03:06 -0000 Message-ID: <50F2BE60A0EF6D478B1BCC633DEC28CC01F705@server.home.internal> References: <14AE52C8045C4D1F9AC27FD137DA0657@home.internal> <50F2BE60A0EF6D478B1BCC633DEC28CC01F704@server.home.internal> <0DEDB6FEF7B44A7C8C121C2E41C63F43@home.internal> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C84D61.582A7490" X-Trace: ger.gmane.org 1199293401 28842 80.91.229.12 (2 Jan 2008 17:03:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Jan 2008 17:03:21 +0000 (UTC) Cc: To: "Charlie Brady" Original-X-From: supervision-return-1827-gcsg-supervision=m.gmane.org@list.skarnet.org Wed Jan 02 18:03:41 2008 Return-path: Envelope-to: gcsg-supervision@gmane.org Original-Received: from antah.skarnet.org ([212.85.147.14]) by lo.gmane.org with smtp (Exim 4.50) id 1JA709-0000p4-Fq for gcsg-supervision@gmane.org; Wed, 02 Jan 2008 18:03:33 +0100 Original-Received: (qmail 28174 invoked by uid 76); 2 Jan 2008 17:03:17 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 28165 invoked from network); 2 Jan 2008 17:03:17 -0000 Original-X-Trace: 5896092/mk-outboundfilter-2.mail.uk.tiscali.com/PIPEX/$MX-ACCEPTED/pipex-infrastructure/62.241.163.7 X-SBRS: None X-RemoteIP: 62.241.163.7 X-IP-MAIL-FROM: rehan.khan@dsl.pipex.com X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ah4FAM9Se0c+8aMH/2dsb2JhbACCOTalPQ Content-class: urn:content-classes:message X-MS-Has-Attach: X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-TNEF-Correlator: Thread-Topic: Customised control help thread-index: AchNUEdtBbFkiqHJRqWbfBU7Oz6JZAADtVZu Xref: news.gmane.org gmane.comp.sysutils.supervision.general:1592 Archived-At: This is a multi-part message in MIME format. ------_=_NextPart_001_01C84D61.582A7490 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable :( Don't let my confusion upset you so. I'm just not an expert on these = things and there is a lot to take in. I think that the following section makes it a little confusing 'before interpreting the command. If the program exits with return code = 0' It might be a little clearer, language-wise, if the text stays with = using script instead of using command and program interchangeably with = script (they are different, are they not?). Separating out the = exceptions would also highlight them. So the text would be something = like: Customise Control For each control character c sent to the control pipe, runsv first = checks if service/control/c exists and is executable. If so, it starts = service/control/c and waits for it to terminate, before interpreting the = result (return code) of the script. If the script exits with return code = 0, runsv refrains from sending the service the corresponding signal. If = the script exits with a return code greater than 0 the corresponding = signal is sent to the service. Notes for Customised Control: The command o is always considered as command u. On command d first service/control/t is checked, and then = service/control/d. On command x first service/control/t is checked, and then = service/control/x. The control of the optional log service cannot be customized. ------_=_NextPart_001_01C84D61.582A7490 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Customised control help

:( Don't let my confusion upset you so. I'm just not = an expert on these things and there is a lot to take in.

I think that the following section makes it a little confusing

'before interpreting the command. If the program exits with return code = 0'

It might be a little clearer, language-wise, if the text stays with = using script instead of using command and program interchangeably with = script (they are different, are they not?). Separating out the = exceptions would also highlight them. So the text would be something = like:

Customise Control

For each control character c sent to the control pipe, runsv first = checks if service/control/c exists and is executable. If so, it starts = service/control/c and waits for it to terminate, before interpreting the = result (return code) of the script. If the script exits with return code = 0, runsv refrains from sending the service the corresponding signal. If = the script exits with a return code greater than 0 the corresponding = signal is sent to the service.

Notes for Customised Control:
The command o is always considered as command u.
On command d first service/control/t is checked, and then = service/control/d.
On command x first service/control/t is checked, and then = service/control/x.
The control of the optional log service cannot be customized.

------_=_NextPart_001_01C84D61.582A7490--