supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: "rehan khan" <rehan.khan@dsl.pipex.com>
To: "Charlie Brady" <charlieb-supervision@budge.apana.org.au>
Cc: <supervision@list.skarnet.org>
Subject: RE: Customised control help
Date: Wed, 2 Jan 2008 17:03:06 -0000	[thread overview]
Message-ID: <50F2BE60A0EF6D478B1BCC633DEC28CC01F705@server.home.internal> (raw)
In-Reply-To: <0DEDB6FEF7B44A7C8C121C2E41C63F43@home.internal>

[-- Attachment #1: Type: text/plain, Size: 1319 bytes --]

:( 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.


[-- Attachment #2: Type: text/html, Size: 1761 bytes --]

  parent reply	other threads:[~2008-01-02 17:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-01  8:27 Rehan Khan
2008-01-01 10:29 ` KORN Andras
2008-01-01 16:29 ` Charlie Brady
     [not found] ` <14AE52C8045C4D1F9AC27FD137DA0657@home.internal>
2008-01-02  6:44   ` rehan khan
2008-01-02 10:42     ` KORN Andras
2008-01-02 14:41     ` Charlie Brady
     [not found]     ` <0DEDB6FEF7B44A7C8C121C2E41C63F43@home.internal>
2008-01-02 17:03       ` rehan khan [this message]
2008-01-02 17:37         ` Charlie Brady
     [not found]         ` <CE0657F3ABAE4CE5B8C8E594928A8067@home.internal>
2008-01-03  4:33           ` rehan khan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50F2BE60A0EF6D478B1BCC633DEC28CC01F705@server.home.internal \
    --to=rehan.khan@dsl.pipex.com \
    --cc=charlieb-supervision@budge.apana.org.au \
    --cc=supervision@list.skarnet.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).