Skip to content
This repository has been archived by the owner on Nov 16, 2020. It is now read-only.

Commit

Permalink
Set environment variables inside bsq-explorer-update wrapper script
Browse files Browse the repository at this point in the history
  • Loading branch information
wiz committed Jan 4, 2020
1 parent f6aaeaa commit 152ba2a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bsq-explorer-update
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
set -a
source /etc/default/bisq-seednode.env
set +a
if [ -z "${BISQ_JSON_DIR}" ] || [ -z "${BSQ_EXPLORER_ROOT}" ];then
echo "Environment variable missing! Check bisq-seednode.env configuration!"
exit 1
fi

export BISQ_DATA_DIR=$BISQ_HOME/$BISQ_APP_NAME/$BISQ_BASE_CURRENCY
export BISQ_JSON_DIR=$BISQ_DATA_DIR/db/json
export BSQ_EXPLORER_ROOT=$BISQ_HOME/bisq-explorer/www

while inotifywait -r -e modify,move,create,delete "${BISQ_JSON_DIR}"
do
Expand Down

0 comments on commit 152ba2a

Please sign in to comment.