summaryrefslogtreecommitdiffstats
path: root/kolabd
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-10-15 10:11:33 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2013-10-15 10:11:33 +0200
commite446ff782b3b815b35578eb91b692e6247e74e3f (patch)
treef7802ffcc7ba8ec829f34e4d76ca835674fa04e6 /kolabd
parent8f8ab08651e43706a0a1b70f5f2c3bcc18e548c4 (diff)
downloadpykolab-e446ff782b3b815b35578eb91b692e6247e74e3f.tar.gz
terminate() processes for domains that have been removed
Diffstat (limited to 'kolabd')
-rw-r--r--kolabd/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index ce552d8..34e54e7 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -268,6 +268,10 @@ class KolabDaemon(object):
domain_auth[domain] = Process(domain)
domain_auth[domain].start()
+ for domain in removed_domains:
+ domain_auth[domain].terminate()
+ del domain_auth[domain]
+
def reload_config(self, *args, **kw):
pass