[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #9250 [Tor Browser]: strange TERM signal



#9250: strange TERM signal
-----------------------------+--------------------------------
     Reporter:  Envite       |      Owner:  erinn
         Type:  defect       |     Status:  needs_information
     Priority:  normal       |  Milestone:
    Component:  Tor Browser  |    Version:  Tor: 0.2.3.25
   Resolution:               |   Keywords:  TERM, needs-triage
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+--------------------------------

Comment (by TORques):

 '''"jul 05 09:13:03.107 [Notice] Catching signal TERM, exiting
 cleanly."'''

 The [Notice] Catching signal TERM, exiting cleanly. appears if the TOR
 server got a Signal INT from a controller. Signal.INT = Close listeners
 and exit TOR gracefully (30 s). Tested.

 Here is an example coded in Python with STEM libs.

 {{{
 import sys
 from stem import Signal
 from stem.control import Controller
   if sys.argv[1] == "INT":
     controller.signal(Signal.INT)
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/9250#comment:6>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs