diff options
Diffstat (limited to 'alias_server/scripts/alias-server')
| -rw-r--r-- | alias_server/scripts/alias-server | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/alias_server/scripts/alias-server b/alias_server/scripts/alias-server index 34d3bf1..8dd8e6b 100644 --- a/alias_server/scripts/alias-server +++ b/alias_server/scripts/alias-server @@ -80,10 +80,12 @@ if __name__ == '__main__': pidfile = daemon.pidfile.TimeoutPIDLockFile(config.pidfile,10), files_preserve=[fh.stream.fileno()], working_directory=os.path.abspath(config.root), + umask=0o022, stdout=sys.stdout, stderr=sys.stderr) else: context = daemon.DaemonContext(detach_process = False, stdout=sys.stdout, stderr=sys.stderr, + umask=0o22, working_directory=os.path.abspath(config.root)) with context: |
