|
|
@ -5,6 +5,8 @@ APP_NAME="btcpayserver"
|
|
|
|
ACTION="${1}"
|
|
|
|
ACTION="${1}"
|
|
|
|
shift 1
|
|
|
|
shift 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mkdir -p /usr/local/bin
|
|
|
|
|
|
|
|
|
|
|
|
get_image() {
|
|
|
|
get_image() {
|
|
|
|
do_install_detail
|
|
|
|
do_install_detail
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -86,6 +88,7 @@ case "${ACTION}" in
|
|
|
|
done
|
|
|
|
done
|
|
|
|
docker rmi -f "$IMAGE_NAME"
|
|
|
|
docker rmi -f "$IMAGE_NAME"
|
|
|
|
rm -r /opt/docker2/compose/btcpayserver 2>/dev/null
|
|
|
|
rm -r /opt/docker2/compose/btcpayserver 2>/dev/null
|
|
|
|
|
|
|
|
rm -rf /opt/docker2/compose/btcpayserver/btcpayserver-docker 2>/dev/null # Removing the btcpayserver-docker directory
|
|
|
|
;;
|
|
|
|
;;
|
|
|
|
"start" | "stop" | "restart")
|
|
|
|
"start" | "stop" | "restart")
|
|
|
|
APP_NAME="btcpayserver"
|
|
|
|
APP_NAME="btcpayserver"
|
|
|
|