Add reload on config change
This commit is contained in:
parent
d05d649be4
commit
2bd4787a45
4 changed files with 14 additions and 4 deletions
|
|
@ -98,7 +98,6 @@ class Setup(object):
|
|||
with open(os.path.join(serv_dir, 'hostname'), 'w') as f:
|
||||
f.write(self.onion_url_gen(conf['key']))
|
||||
|
||||
|
||||
def _set_conf(self):
|
||||
env = Environment(loader=FileSystemLoader('/'))
|
||||
temp = env.get_template(self.torrc_template)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue