mirror of
https://github.com/linuxserver/docker-mods.git
synced 2026-01-17 10:42:14 +08: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:
commit
c201cbffe6
@ -1,6 +1,6 @@
|
||||
#!/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"
|
||||
tail -f $TAIL_LOGS
|
||||
echo "Executing: tail -F $TAIL_LOGS"
|
||||
tail -F $TAIL_LOGS
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user