Skip to content
Permalink
Browse files

review service startup script

  • Loading branch information
stremovsky committed Feb 22, 2020
1 parent 7070378 commit fcfe7488c32d0c33abe04f96240301e66c6c4971
Showing with 6 additions and 0 deletions.
  1. +6 −0 run.sh
6 run.sh
@@ -12,6 +12,12 @@ if [ ! -f /databunker/data/databunker.db ]; then
echo "DATABUNKER_ROOTTOKEN $DATABUNKER_ROOTTOKEN"
echo "DATABUNKER_MASTERKEY $DATABUNKER_MASTERKEY"
/bin/busybox rm -rf /tmp/init.txt
export DATABUNKER_MASTERKEY=$DATABUNKER_MASTERKEY
fi
if [ -z "$DATABUNKER_MASTERKEY" ]; then
echo "DATABUNKER_MASTERKEY environment value is empty"
/bin/busybox sleep 60
exit
fi
#echo "-------------ENV-------------"
#/bin/busybox env

0 comments on commit fcfe748

Please sign in to comment.
You can’t perform that action at this time.