diff --git a/install b/install index ff8a074..990ccc8 100755 --- a/install +++ b/install @@ -38,9 +38,6 @@ INFO="[i]" DONE="${COL_LIGHT_GREEN} done!${COL_NC}" OVER="\\r\\033[K" -dn=$(dirname $0) -source "$dn/utils.sh" - # # Helper functions for informing the user and logging to file # @@ -570,6 +567,9 @@ startup() { fi msg_info "$msg (this will take a while!!)" + dn=$(dirname $0) + source "$dn/utils.sh" + docker-compose stop &>>$installLog || true wait_down $PS_MYSQL &>>$installLog wait_down $PS_BHSM &>>$installLog