Skip to content

Commit

Permalink
feat(worker): 馃攰 add boinc-client logs to worker
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre CORBEL committed Aug 25, 2021
1 parent 7709e8c commit 950e56e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion worker/entrypoint.sh
Expand Up @@ -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

0 comments on commit 950e56e

Please sign in to comment.