From c51f4816772fc31359ffbd8763eebb10f5cdee8c 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 cb14adb3..547c93e1 100755 --- a/sfa/server/sfa-start.py +++ b/sfa/server/sfa-start.py @@ -1,4 +1,7 @@ -#!/usr/bin/env python2 +#!/usr/bin/python2 -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.47.0