made start/stop actually start/stop all the things

pull/1/head
riley 1 year ago
parent 6a151f877d
commit 7381c23e8e

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

Loading…
Cancel
Save