diff --git a/worker/entrypoint.sh b/worker/entrypoint.sh index 42d45a3..8aa2ff1 100755 --- a/worker/entrypoint.sh +++ b/worker/entrypoint.sh @@ -8,9 +8,12 @@ while true; do service boinc-client status | grep "Status of BOINC core client: running." > /dev/null 2>&1 RESULT=$? if [ ${RESULT} -eq 0 ]; then - sleep 60 + break else echo "BOINC core client is not started yet..." sleep 5 fi done + +echo "Showing logs..." +tail -f /var/lib/boinc-client/stdoutdae.txt