[tor-commits] [stem/master] Replace Signal.SIGHUP with Signal.HUP in FAQ

atagar at torproject.org atagar at torproject.org
Tue Jan 28 15:11:52 UTC 2014


commit a9bb652a071b342ea74084b19cb28e3c479e2635
Author: Damian Johnson <atagar at torproject.org>
Date:   Tue Jan 28 07:12:31 2014 -0800

    Replace Signal.SIGHUP with Signal.HUP in FAQ
    
    Issue spotted by rdsoze on #tor.
---
 docs/faq.rst |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/faq.rst b/docs/faq.rst
index 984ab54..447ff04 100644
--- a/docs/faq.rst
+++ b/docs/faq.rst
@@ -325,10 +325,10 @@ To learn about the Tor relays you're presently using call :func:`~stem.control.C
 How do I reload my torrc?
 -------------------------
 
-Tor is configured through its `torrc <https://www.torproject.org/docs/faq.html.en#torrc>`_. When you edit this file you need to either restart Tor or issue a **SIGHUP** for the changes to be reflected. To issue a SIGHUP you can either...
+Tor is configured through its `torrc <https://www.torproject.org/docs/faq.html.en#torrc>`_. When you edit this file you need to either restart Tor or issue a **HUP** for the changes to be reflected. To issue a HUP you can either...
 
  * Run **pkill -sighup tor**.
- * Send Tor a **SIGHUP** signal through its control port...
+ * Send Tor a **HUP** signal through its control port...
 
 ::
 
@@ -337,7 +337,7 @@ Tor is configured through its `torrc <https://www.torproject.org/docs/faq.html.e
 
   with Controller.from_port(port = 9051) as controller:
     controller.authenticate()
-    controller.signal(Signal.SIGHUP)
+    controller.signal(Signal.HUP)
 
 .. _what_is_that_with_keyword_i_keep_seeing_in_the_tutorials:
 



More information about the tor-commits mailing list