run daemons as python3 -u so that stdout is unbuffered
[sfa.git] / 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
 #