Merge remote-tracking branch 'sunil/tor-setup'

This commit is contained in:
James Valleroy committed 2015-08-26 19:18:18 -04:00
commit ea64fa1c7a
3 files changed
+44 -2

No files matched your search

+6 -1
View File
@@ -50,7 +50,12 @@ def init():
'tor:index', 100)
@package.required(['tor'])
def on_install():
"""Setup Tor configuration as soon as it is installed."""
actions.superuser_run('tor', ['setup'])
@package.required(['tor', 'obfsproxy'], on_install=on_install)
def index(request):
"""Service the index page"""
status = get_status()