Metronome remove conf

This commit is contained in:
Kload 2013-06-09 13:15:29 +00:00
parent 227cafa7a1
commit f02fe9c0c7

View file

@ -203,6 +203,8 @@ def domain_remove(domains):
try:
shutil.rmtree('/etc/yunohost/certs/'+ domain)
os.remove('/var/lib/bind/'+ domain +'.zone')
shutil.rmtree('/var/lib/metronome/'+ domain.replace('.', '%2e'))
os.remove('/etc/metronome/conf.d/'+ domain +'.cfg.lua')
except:
pass
with open('/etc/bind/named.conf.local', 'r') as conf: