mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-03 23:06:25 -04:00
Merge pull request #393 from brycied00d/patch-1
[universal-stdout-logs] Use tail -F to follow rotated log files
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/with-contenv bash
|
#!/usr/bin/with-contenv bash
|
||||||
|
|
||||||
TAIL_LOGS=$(echo "$LOGS_TO_STDOUT" | sed 's#|# -f #g')
|
TAIL_LOGS=$(echo "$LOGS_TO_STDOUT" | sed 's#|# #g')
|
||||||
|
|
||||||
echo "Executing: tail -f $TAIL_LOGS"
|
echo "Executing: tail -F $TAIL_LOGS"
|
||||||
tail -f $TAIL_LOGS
|
tail -F $TAIL_LOGS
|
||||||
|
|||||||
Reference in New Issue
Block a user