formatted code in fcn operateDocker
This commit is contained in:
parent
c03eecc1d3
commit
a123b17d52
@ -232,7 +232,8 @@ elif [ "$1" = "start" ]; then
|
|||||||
>> "$logFile"
|
>> "$logFile"
|
||||||
docker-compose start ${2}-mailcow 2>> "$logFile"
|
docker-compose start ${2}-mailcow 2>> "$logFile"
|
||||||
# verify
|
# verify
|
||||||
dockerResult=$(docker inspect -f '{{ .State.Running }}' ${COMPOSE_PROJECT_NAME}_${2}-mailcow_1)
|
dockerResult=$(docker inspect -f '{{ .State.Running }}' \
|
||||||
|
${COMPOSE_PROJECT_NAME}_${2}-mailcow_1)
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user