Skip to content

Commit

Permalink
now the Hypercane GUI refuses to start if the user did not set up a c…
Browse files Browse the repository at this point in the history
…aching database #57
  • Loading branch information
shawnmjones committed Sep 18, 2021
1 parent 054562c commit 42f2c81
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions hypercane-gui/start-gui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ DAEMONIZE_DJANGO=0
WOOEY_DIR=${SCRIPT_DIR}/../hypercane_with_wooey
DJANGO_PORT=8000

if [ -z "${HC_CACHE_STORAGE}" ]; then
echo "ERROR: Cache Storage has not been set, refusing to continue."
exit 22
else
echo "HC_CACHE_STORAGE is ${HC_CACHE_STORAGE}"
fi

while test $# -gt 0; do

echo "looping..."
Expand Down

0 comments on commit 42f2c81

Please sign in to comment.