|
|
@ -102,7 +102,7 @@ case "${ACTION}" in
|
|
|
|
CONTAINER_NAME="generated_btcpayserver_1"
|
|
|
|
CONTAINER_NAME="generated_btcpayserver_1"
|
|
|
|
CONTAINER_STATUS=$(docker ps --all --filter "name=${CONTAINER_NAME}" --format '{{.Status}}' | awk -F' ' '{print $1, $2, $3}')
|
|
|
|
CONTAINER_STATUS=$(docker ps --all --filter "name=${CONTAINER_NAME}" --format '{{.Status}}' | awk -F' ' '{print $1, $2, $3}')
|
|
|
|
if [ -z "$CONTAINER_STATUS" ]; then
|
|
|
|
if [ -z "$CONTAINER_STATUS" ]; then
|
|
|
|
echo "${APP_NAME} is not installed."
|
|
|
|
echo "${APP_NAME} is not installed"
|
|
|
|
else
|
|
|
|
else
|
|
|
|
echo "${CONTAINER_STATUS}"
|
|
|
|
echo "${CONTAINER_STATUS}"
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|