diff -r 812445504835 -r b5d6f5391695 server/serverctl.py --- a/server/serverctl.py Tue Jan 04 14:11:54 2011 +0100 +++ b/server/serverctl.py Wed Jan 05 17:50:21 2011 +0100 @@ -237,6 +237,7 @@ command.append('--loglevel %s' % config['log-threshold'].lower()) command.append(config.appid) os.system(' '.join(command)) + return 1 class RepositoryStopHandler(CommandHandler): @@ -593,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: