From f02fe9c0c719ace4be9d40c362b6d4bf284c3b2a Mon Sep 17 00:00:00 2001 From: Kload Date: Sun, 9 Jun 2013 13:15:29 +0000 Subject: [PATCH] Metronome remove conf --- yunohost_domain.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/yunohost_domain.py b/yunohost_domain.py index 180a03df..5c45b3af 100644 --- a/yunohost_domain.py +++ b/yunohost_domain.py @@ -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: