aboutsummaryrefslogtreecommitdiff
path: root/control-spec.txt
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-30 13:01:51 -0400
committerNick Mathewson <nickm@torproject.org>2017-10-30 13:01:51 -0400
commit4c383824b8b120a3289d0d94bc8ff1545046c216 (patch)
treec2a96d24194a1cc758afb75077e52f7c4707fe5b /control-spec.txt
parent0fd44031bfd6c6c822bfb194e54a05118c9625e2 (diff)
downloadtorspec-4c383824b8b120a3289d0d94bc8ff1545046c216.tar.gz
torspec-4c383824b8b120a3289d0d94bc8ff1545046c216.zip
Control-spec: document which signals have POSIX equivalents
Diffstat (limited to 'control-spec.txt')
-rw-r--r--control-spec.txt20
1 files changed, 15 insertions, 5 deletions
diff --git a/control-spec.txt b/control-spec.txt
index 19eabcf..aea406c 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -428,14 +428,14 @@
The meaning of the signals are:
- RELOAD -- Reload: reload config items. (like HUP)
+ RELOAD -- Reload: reload config items.
SHUTDOWN -- Controlled shutdown: if server is an OP, exit immediately.
If it's an OR, close listeners and exit after
- ShutdownWaitLength seconds. (like INT)
+ ShutdownWaitLength seconds.
DUMP -- Dump stats: log information about open connections and
- circuits. (like USR1)
- DEBUG -- Debug: switch all open logs to loglevel debug. (like USR2)
- HALT -- Immediate shutdown: clean up and exit now. (like TERM)
+ circuits.
+ DEBUG -- Debug: switch all open logs to loglevel debug.
+ HALT -- Immediate shutdown: clean up and exit now.
CLEARDNSCACHE -- Forget the client-side cached IPs for all hostnames.
NEWNYM -- Switch to clean circuits, so new application requests
don't share any circuits with old ones. Also clears
@@ -447,6 +447,16 @@
closes the socket if it was asked to close immediately), or "552
Unrecognized signal" if the signal is unrecognized.
+ Note that not all of these signals have POSIX signal equivalents. The
+ ones that do are as below. You may also use these POSIX names for the
+ signal that have them.
+
+ RELOAD: HUP
+ SHUTDOWN: INT
+ HALT: TERM
+ DUMP: USR1
+ DEBUG: USR2
+
3.8. MAPADDRESS
Sent from the client to the server. The syntax is: