[tor-commits] [torspec/master] fix two bugs in the signal section of control-spec

arma at torproject.org arma at torproject.org
Tue Sep 20 15:01:41 UTC 2011


commit d4b656274ed3cfaf610bdbbb7edf0e403465fde5
Author: Roger Dingledine <arma at torproject.org>
Date:   Tue Sep 20 11:01:10 2011 -0400

    fix two bugs in the signal section of control-spec
    
    first, a hup signal doesn't make us refetch directory information
    
    second, the 30-second controlled shutdown is actually a config option.
---
 control-spec.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/control-spec.txt b/control-spec.txt
index 61c858a..e745a1f 100644
--- a/control-spec.txt
+++ b/control-spec.txt
@@ -348,10 +348,10 @@
 
   The meaning of the signals are:
 
-      RELOAD    -- Reload: reload config items, refetch directory. (like HUP)
+      RELOAD    -- Reload: reload config items. (like HUP)
       SHUTDOWN  -- Controlled shutdown: if server is an OP, exit immediately.
-                   If it's an OR, close listeners and exit after 30 seconds.
-                   (like INT)
+                   If it's an OR, close listeners and exit after
+                   ShutdownWaitLength seconds. (like INT)
       DUMP      -- Dump stats: log information about open connections and
                    circuits. (like USR1)
       DEBUG     -- Debug: switch all open logs to loglevel debug. (like USR2)



More information about the tor-commits mailing list