server/serverctl.py
branchstable
changeset 6779 accf5978a440
parent 6778 7dd4835d5198
child 6782 b5d6f5391695
child 6860 a0dbf6135c72
--- a/server/serverctl.py	Wed Jan 05 15:32:37 2011 +0100
+++ b/server/serverctl.py	Wed Jan 05 17:47:16 2011 +0100
@@ -594,7 +594,7 @@
         # go ! (don't daemonize in debug mode)
         if not os.path.exists(piddir):
             os.makedirs(piddir)
-        if not debug and daemonize(pidfile):
+        if not debug and daemonize(pidfile, umask=config['umask']):
             return
         uid = config['uid']
         if uid is not None: