diff --git a/daemon/runner.py b/daemon/runner.py index 3f9f658..3972339 100644 --- a/daemon/runner.py +++ b/daemon/runner.py @@ -77,9 +77,9 @@ def __init__(self, app): self.app = app self.daemon_context = DaemonContext() self.daemon_context.stdin = open(app.stdin_path, 'r') - self.daemon_context.stdout = open(app.stdout_path, 'w+') + self.daemon_context.stdout = open(app.stdout_path, 'w') self.daemon_context.stderr = open( - app.stderr_path, 'w+', buffering=0) + app.stderr_path, 'w', buffering=0) self.pidfile = None if app.pidfile_path is not None: