Add btcpay-down tool

For purposes of some monitoring tools that require both start and stop scripts.
This commit is contained in:
Tomáš Hubík 2018-07-22 19:13:16 +02:00 committed by GitHub
parent 36f15ed36e
commit 918096dd6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
btcpay-down.sh Normal file
View File

@ -0,0 +1,6 @@
#!/bin/bash
. /etc/profile.d/btcpay-env.sh
cd "`dirname $BTCPAY_ENV_FILE`"
docker-compose -f $BTCPAY_DOCKER_COMPOSE down