diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-17 10:24:43 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-17 10:24:43 +0100 |
commit | f79a60a70c8562e35033477d32c2ab70792be4b1 (patch) | |
tree | 2b1c2c9b4af97e3d522c23d13695502565d5eb53 | |
parent | dd014204726e24b9383939a3c362c545b4c98067 (diff) | |
download | pykolab-f79a60a70c8562e35033477d32c2ab70792be4b1.tar.gz |
Update kolabd/process to set it's own name after the domain name being served
-rw-r--r-- | kolabd/process.py | 7 |
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) |