summaryrefslogtreecommitdiffstats
path: root/kolabd
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-17 10:24:43 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-17 10:24:43 +0100
commitf79a60a70c8562e35033477d32c2ab70792be4b1 (patch)
tree2b1c2c9b4af97e3d522c23d13695502565d5eb53 /kolabd
parentdd014204726e24b9383939a3c362c545b4c98067 (diff)
downloadpykolab-f79a60a70c8562e35033477d32c2ab70792be4b1.tar.gz
Update kolabd/process to set it's own name after the domain name being served
Diffstat (limited to 'kolabd')
-rw-r--r--kolabd/process.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/kolabd/process.py b/kolabd/process.py
index bf65623..9fe525d 100644
--- a/kolabd/process.py
+++ b/kolabd/process.py
@@ -29,7 +29,12 @@ conf = pykolab.getConf()
class KolabdProcess(multiprocessing.Process):
def __init__(self, domain):
self.domain = domain
- multiprocessing.Process.__init__(self, target=self.synchronize, args=(domain,))
+ multiprocessing.Process.__init__(
+ self,
+ target=self.synchronize,
+ args=(domain,),
+ name="Kolab(%s)" % domain
+ )
def synchronize(self, domain):
auth = Auth(domain)