switch to hybrid

This commit is contained in:
aptalca
2022-08-26 13:00:35 -04:00
parent c201cbffe6
commit 7874132725
5 changed files with 11 additions and 0 deletions
@@ -0,0 +1,10 @@
#!/usr/bin/with-contenv bash
if [ -n "${LOGS_TO_STDOUT}" ]; then
TAIL_LOGS=$(echo "$LOGS_TO_STDOUT" | sed 's#|# #g')
echo "Executing: tail -F $TAIL_LOGS"
tail -F $TAIL_LOGS
else
echo "**** Env var LOGS_TO_STDOUT is not set, sleeping ****"
sleep infinity
fi
@@ -0,0 +1 @@
longrun
View File