diff --git a/root/app/cleanup.sh b/root/app/cleanup.sh index 8fb3f59..cf38e86 100644 --- a/root/app/cleanup.sh +++ b/root/app/cleanup.sh @@ -9,7 +9,7 @@ fi # empty existing redis queue echo "emptying current redis queues..." -rq empty -u redis://${DISKOVER_ARRAY[REDIS_HOST]}:${DISKOVER_ARRAY[REDIS_PORT]} diskover_crawl diskover diskover_calcdir failed +rq empty -u redis://"${DISKOVER_ARRAY[REDIS_HOST]}":"${DISKOVER_ARRAY[REDIS_PORT]}" diskover_crawl diskover diskover_calcdir failed sleep 3 echo "killing dangling workers..."