Shut down the Tor process without hacks.

Tor has a controller command, TAKEOWNERSHIP, and a configuration option,
__OwningControllerProcess, that work together to ensure Tor shuts down
when the controlling process dies and/or disconnects from the control
port. By using them we can avoid creating runaway Tor processes that
have to be killed with hacks.
This commit is contained in:
akwizgran
2014-07-08 22:35:37 +01:00
parent 7d9ce4c973
commit d406853f68
5 changed files with 19 additions and 123 deletions

View File

@@ -1,7 +1,6 @@
ControlPort 59051
CookieAuthentication 1
DisableNetwork 1
PidFile pid
RunAsDaemon 1
SafeSocks 1
SocksPort 59050