|
|
@ -101,7 +101,11 @@ case "${ACTION}" in
|
|
|
|
"status")
|
|
|
|
"status")
|
|
|
|
APP_NAME="btcpayserver"
|
|
|
|
APP_NAME="btcpayserver"
|
|
|
|
CONTAINER_NAMES=$(docker ps -a --filter "name=${APP_NAME}" --format '{{.Names}}')
|
|
|
|
CONTAINER_NAMES=$(docker ps -a --filter "name=${APP_NAME}" --format '{{.Names}}')
|
|
|
|
|
|
|
|
if [ -z "$CONTAINER_NAMES" ]; then
|
|
|
|
|
|
|
|
echo "${APP_NAME} is not installed."
|
|
|
|
|
|
|
|
else
|
|
|
|
docker ps --all -f "name=${CONTAINER_NAMES}" --format '{{.Status}}'
|
|
|
|
docker ps --all -f "name=${CONTAINER_NAMES}" --format '{{.Status}}'
|
|
|
|
|
|
|
|
fi
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
"port")
|
|
|
|
"port")
|
|
|
|
APP_NAME="btcpayserver"
|
|
|
|
APP_NAME="btcpayserver"
|
|
|
|