add another octolux.rb retry

This commit is contained in:
Chris Elsworth 2020-04-28 09:21:52 +01:00
parent 796feb5e0a
commit 14da1d4870
1 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,6 @@ run() {
# If octolux.rb quits with a non-zero status code, run it again.
# This catches occasional failures due to the inverter not responding etc.
run || (sleep 10 && run)
run || (sleep 15 && run) || (sleep 15 && run)
echo -e "\n---\n" >>$DIR/octolux.log