From: Thierry Parmentelat Date: Tue, 9 Apr 2019 16:57:09 +0000 (+0200) Subject: run daemons as python3 -u so that stdout is unbuffered X-Git-Url: http://git.onelab.eu/?p=sfa.git;a=commitdiff_plain;h=cea205b4982edebf6efe03f4b4dfda706b7592fa run daemons as python3 -u so that stdout is unbuffered and shows up asap in journalctl --- 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 #