Skip to content

Commit

Permalink
Fednode fixes for counterwallet
Browse files Browse the repository at this point in the history
  • Loading branch information
chiguireitor committed Dec 19, 2018
1 parent 3f403ee commit 118c1da
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
if [ ! -d /counterwallet/build ]; then
cd /counterwallet/src; bower --allow-root --config.interactive=false update
cd /counterwallet; npm update
grunt build --dontcheckdeps
npm run prepublish
npm run build
#grunt build --dontcheckdeps
fi
if [ ! -f /counterwallet/counterwallet.conf.json ]; then
cp -a /counterwallet/counterwallet.conf.json.example /counterwallet/counterwallet.conf.json
Expand Down Expand Up @@ -36,7 +38,7 @@ envsubst "$VARS" < /counterwallet/docker/nginx/counterwallet.conf.template > /et
# http://veithen.github.io/2014/11/16/sigterm-propagation.html
trap 'kill -TERM $PID' TERM INT
nginx -g 'daemon off;' &
# ^ maybe simplify to just be "nginx" in the future
# ^ maybe simplify to just be "nginx" in the future
PID=$!
wait $PID
trap - TERM INT
Expand Down

0 comments on commit 118c1da

Please sign in to comment.