refactor: move unimplemented command detection into config file

This commit is contained in:
Jose Diaz-Gonzalez
2018-04-24 00:27:14 -04:00
parent 5d94e927f5
commit df593ec155
17 changed files with 44 additions and 22 deletions

View File

@@ -136,7 +136,7 @@ service_start() {
return 0
fi
dokku_log_info1_quiet "Starting container"
dokku_log_info2_quiet "Starting container"
local PREVIOUS_ID=$(docker ps -f status=exited | grep -e "$SERVICE_NAME$" | awk '{print $1}') || true
local IMAGE_EXISTS=$(docker images | grep -e "^$PLUGIN_IMAGE " | grep -q " $PLUGIN_IMAGE_VERSION " && true)
local ROOTPASSWORD="$(cat "$SERVICE_ROOT/ROOTPASSWORD")"