From cea205b4982edebf6efe03f4b4dfda706b7592fa Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 9 Apr 2019 18:57:09 +0200 Subject: [PATCH] run daemons as python3 -u so that stdout is unbuffered and shows up asap in journalctl --- sfa/server/sfa-start.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sfa/server/sfa-start.py b/sfa/server/sfa-start.py index 5c3a2e40..7b2f19d0 100755 --- a/sfa/server/sfa-start.py +++ b/sfa/server/sfa-start.py @@ -1,4 +1,7 @@ -#!/usr/bin/env python3 +#!/usr/bin/python3 -u +# now that logs are managed through stdout and journalctl, +# it is important to run with -u so that they show up quickly +# and don't get buffered # # PlanetLab SFA implementation # -- 2.43.0