File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ service_create_container() {
8181 service_stop " $SERVICE " > /dev/null
8282 docker run --rm -i -v " $SERVICE_HOST_ROOT /data:/var/lib/postgresql/data" " $PLUGIN_IMAGE :$PLUGIN_IMAGE_VERSION " bash -s < " $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) /scripts/enable_ssl.sh" & > /dev/null
8383
84- PREVIOUS_ID=$( docker ps -f status=exited | grep -e " $SERVICE_NAME $" | awk ' {print $1}' ) || true
84+ PREVIOUS_ID=$( docker ps -f status=exited --no-trunc | grep -e " $SERVICE_NAME $" | awk ' {print $1}' ) || true
8585 docker start " $PREVIOUS_ID " > /dev/null
8686 service_port_unpause " $SERVICE "
8787
@@ -122,14 +122,14 @@ service_start() {
122122 local QUIET=" $2 "
123123 local SERVICE_ROOT=" $PLUGIN_DATA_ROOT /$SERVICE "
124124 local SERVICE_NAME=" $( get_service_name " $SERVICE " ) "
125- local ID=$( docker ps -f status=running | grep -e " $SERVICE_NAME $" | awk ' {print $1}' ) || true
125+ local ID=$( docker ps -f status=running --no-trunc | grep -e " $SERVICE_NAME $" | awk ' {print $1}' ) || true
126126 if [[ -n $ID ]]; then
127127 [[ -z $QUIET ]] && dokku_log_warn " Service is already started"
128128 return 0
129129 fi
130130
131131 dokku_log_info2_quiet " Starting container"
132- local PREVIOUS_ID=$( docker ps -f status=exited | grep -e " $SERVICE_NAME $" | awk ' {print $1}' ) || true
132+ local PREVIOUS_ID=$( docker ps -f status=exited --no-trunc | grep -e " $SERVICE_NAME $" | awk ' {print $1}' ) || true
133133 local PASSWORD=" $( cat " $SERVICE_ROOT /PASSWORD" ) "
134134
135135 if [[ -n $PREVIOUS_ID ]]; then
You can’t perform that action at this time.
0 commit comments