Don't build tests and reset confdir to /etc

This commit is contained in:
Christophe Mehay 2016-09-27 18:54:59 +02:00
parent 38ba81f386
commit 2e0f4dab4a
2 changed files with 7 additions and 3 deletions

View file

@ -22,7 +22,7 @@ from base64 import b32encode
class Setup(object):
hidden_service_dir = "/var/lib/tor/hidden_service/"
torrc = '/usr/local/etc/tor/torrc'
torrc = '/etc/tor/torrc'
torrc_template = '/var/local/tor/torrc.tpl'
def onion_url_gen(self, key):
@ -37,7 +37,6 @@ class Setup(object):
return '{onion}.onion'.format(onion=onion.decode().lower())
def _add_host(self, host):
if host not in self.setup:
self.setup[host] = {}