Skip to content

Commit

Permalink
Hackish workaround for balena
Browse files Browse the repository at this point in the history
  • Loading branch information
vpetersson committed Dec 4, 2020
1 parent d71acf2 commit 3102276
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bin/start_balena.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ run_viewer () {

while true; do

error=$(curl screenly-server:80 2>&1 | grep -c "Failed to connect")
error=$(curl screenly-server:8080 2>&1 | grep -c "Failed to connect")
if [[ "$error" -eq 0 ]]; then
break
fi
Expand Down Expand Up @@ -100,4 +100,4 @@ fi

if [[ "$SCREENLYSERVICE" = "celery" ]]; then
run_celery
fi
fi
2 changes: 1 addition & 1 deletion viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@


__author__ = "Screenly, Inc"
__copyright__ = "Copyright 2012-2019, Screenly, Inc"
__copyright__ = "Copyright 2012-2020, Screenly, Inc"
__license__ = "Dual License: GPLv2 and Commercial License"


Expand Down

0 comments on commit 3102276

Please sign in to comment.