From 9438004c9d61325fbb6a3e4b72b3a37734736c80 Mon Sep 17 00:00:00 2001 From: "flow.gunso" Date: Thu, 30 Jan 2020 21:38:33 +0100 Subject: [PATCH] Implement a workaround with debugging, see #14 --- seafile-client/seafile-entrypoint.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/seafile-client/seafile-entrypoint.sh b/seafile-client/seafile-entrypoint.sh index e9a8b3d..5122e1d 100644 --- a/seafile-client/seafile-entrypoint.sh +++ b/seafile-client/seafile-entrypoint.sh @@ -41,5 +41,8 @@ cmd="seaf-cli sync -u $SEAF_USERNAME -p $SEAF_PASSWORD -s $SEAF_SERVER_URL -l $S # Run it. if ! eval $cmd; then echo "Failed to synchronize."; exit 1; fi -# Continously print the log. -tail -f ~/.ccnet/logs/seafile.log +# Continously print the log, infinitely. +while true; do + tail -v -f ~/.ccnet/logs/seafile.log + echo $? +done