delete logs..

This commit is contained in:
Eugenio Marzo
2023-01-06 21:00:15 +01:00
parent 186a597c46
commit 4e8707da31
-1
View File
@@ -15,6 +15,5 @@ python3 /opt/logs_loop/start.py https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_
while true
do
( ps -ef | grep start.py | grep logs_loop | grep -v grep ) || ( python3 /opt/logs_loop/start.py https://${KUBERNETES_SERVICE_HOST}:${KUBERNETES_SERVICE_PORT_HTTPS} & )
echo "[WORK AROUND] Chefking if logs_loop is still alive..."
sleep 2
done