summary refs log tree commit diff
path: root/man
diff options
context:
space:
mode:
authorGerrit Pape <pape@smarden.org>2004-12-12 18:17:14 +0000
committerGerrit Pape <pape@smarden.org>2004-12-12 18:17:14 +0000
commitaf4f84fb543641fbd8ce847d43fe8b773cfbf0eb (patch)
treecdf551bd31718bc1e4a5795ac6d182454b273095 /man
parentf6710c0dce8fcc5ea1e60e1b13aadd936c4104fa (diff)
downloadrunit-af4f84fb543641fbd8ce847d43fe8b773cfbf0eb.tar.gz
runit-af4f84fb543641fbd8ce847d43fe8b773cfbf0eb.tar.xz
runit-af4f84fb543641fbd8ce847d43fe8b773cfbf0eb.zip
* doc/upgrade.html: typo.
  * runsv.c: support custom control commands through control/ directory,
    optionally switch off sending signal.
  * man/runsv.8: document custom control commands.
Diffstat (limited to 'man')
-rw-r--r--man/runsv.824
1 files changed, 24 insertions, 0 deletions
diff --git a/man/runsv.8 b/man/runsv.8
index eafad0c..c6b5a77 100644
--- a/man/runsv.8
+++ b/man/runsv.8
@@ -157,6 +157,30 @@ ignores unknown characters written to the control pipe.
 usually blocks if no
 .B runsv
 process is running in the service directory.
+.SH CUSTOMIZE CONTROL
+For each control character
+.I c
+sent to the control pipe,
+.B runsv
+first checks if
+.I service\fR/control/\fIc
+exists and is executable.
+If so, it starts
+.I service\fR/control/\fIc
+and waits for it to terminate, before interpreting the command.
+If the program exits with return code 0,
+.B runsv
+refrains from sending the service the corresponding signal.
+The command
+.I o
+is always considered as command
+.IR u .
+The
+.IR u ,
+.IR e ,
+and
+.I x
+commands of an optional log service cannot be customized.
 .SH SIGNALS
 If
 .B runsv