From 81b9b4c29d556b170975ef28dc869e17e6b25fda Mon Sep 17 00:00:00 2001 From: andrzejwl Date: Fri, 4 Jun 2021 15:14:23 +0200 Subject: [PATCH] add fix info --- fix.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 fix.md diff --git a/fix.md b/fix.md new file mode 100644 index 0000000..93564e9 --- /dev/null +++ b/fix.md @@ -0,0 +1,13 @@ +# Modifying daemon library source code + +Run: `vim /usr/local/lib/python3.8/dist-packages/daemon/runner.py` +Modify the following lines (#118): + +```python +self.daemon_context = DaemonContext() +self.daemon_context.stdin = open(app.stdin_path, 'wb+',buffering=0) +self.daemon_context.stdout = open(app.stdout_path, 'wb+',buffering=0) +self.daemon_context.stderr = open( + app.stderr_path, 'wb+', buffering=0) +``` +