mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Metronome remove conf
This commit is contained in:
parent
227cafa7a1
commit
f02fe9c0c7
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue