From 7e28a966ecabed2e329bcb3c24219f3536515c3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florent=20Thi=C3=A9ry?= <florent.thiery@ubicast.eu>
Date: Wed, 23 Jan 2019 15:30:53 +0100
Subject: [PATCH] disable python buffering so that logs display properly

---
 launcher.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/launcher.sh b/launcher.sh
index 67039411..69b7a031 100755
--- a/launcher.sh
+++ b/launcher.sh
@@ -135,12 +135,12 @@ case "$1" in
         monitor
         campusmanager
         # install celerity-worker first so that vod test works
-        python3 /root/envsetup/envsetup.py 72
+        python3 -u /root/envsetup/envsetup.py 72
         mediaserver
         # install netcapture
-        python3 /root/envsetup/envsetup.py 121
+        python3 -u /root/envsetup/envsetup.py 121
         # demokit scripts: deploy videos, custom conf, etc
-        python3 /root/envsetup/envsetup.py 53
+        python3 -u /root/envsetup/envsetup.py 53
         [[ $2 = "--skip-tests" ]] || tests
 	;;
 
-- 
GitLab