run daemons as python3 -u so that stdout is unbuffered
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 9 Apr 2019 16:57:09 +0000 (18:57 +0200)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 16 Apr 2019 14:04:00 +0000 (16:04 +0200)
and shows up asap in journalctl

sfa/server/sfa-start.py

index cb14adb..547c93e 100755 (executable)
@@ -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
 #