Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/guysoft/FullPageOS into d…
Browse files Browse the repository at this point in the history
…evel
  • Loading branch information
guysoft committed Dec 10, 2020
2 parents 7d480ec + 4a1f988 commit 8e0aba2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ tail -n 0 -f "$logfile" | while read LOGLINE &> /dev/null; do

echo "Refreshing after crash"
echo "Restarting at `date` after a reported crash. Logline: ${LOGLINE}" >> /tmp/crashlog
[[ "${LOGLINE}" == *"ERROR"* ]] && /home/pi/scripts/refresh
[[ ("${LOGLINE}" == *"ERROR"*) || ("${LOGLINE}" == *"FATAL"*) ]] && /home/pi/scripts/refresh

done

0 comments on commit 8e0aba2

Please sign in to comment.