Skip to content

Commit

Permalink
fix: deploy and start mo-service in binary deploy mode
Browse files Browse the repository at this point in the history
  • Loading branch information
aronchanisme committed Mar 6, 2024
1 parent cc00f3e commit 7129d94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bin/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -208,12 +208,14 @@ function deploy()
force="force"
fi

get_conf MO_DEPLOY_MODE

case "${MO_DEPLOY_MODE}" in
"docker")
deploy_docker ${mo_version}
;;
"binary")
add_log "I" "MO_DEPLOY_MODE is set to 'binary', thus skipping deployment. Please download and decompress mo binary file into a folder and set conf MO_PATH"
add_log "I" "MO_DEPLOY_MODE is set to 'binary', thus skipping deployment. Please download and decompress mo binary file into a folder and set conf MO_PATH and MO_CONF_FILE"
;;

"git")
Expand Down
1 change: 1 addition & 0 deletions bin/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ function start()
docker_mem_limit="${MO_CONTAINER_LIMIT_MEMORY}"
go_mem_limit=""

get_conf MO_DEPLOY_MODE

if [[ "${MO_DEPLOY_MODE}" == "docker" ]]; then

Expand Down

0 comments on commit 7129d94

Please sign in to comment.