@ -93,7 +93,7 @@ case "${ACTION}" in
;;
"start" | "stop" | "restart")
APP_NAME="btcpayserver"
CONTAINER_IDS=$(docker ps -a --filter "ancestor=${APP_NAME}" --format '{{.ID}}')
CONTAINER_IDS=$(docker ps -a | grep ${APP_NAME} | awk '{print $1}')
for ID in $CONTAINER_IDS; do
docker "${ACTION}" "${ID}"
done