|
|
|
@ -5,6 +5,8 @@ APP_NAME="btcpayserver"
|
|
|
|
|
ACTION="${1}"
|
|
|
|
|
shift 1
|
|
|
|
|
|
|
|
|
|
mkdir -p /usr/local/bin
|
|
|
|
|
|
|
|
|
|
get_image() {
|
|
|
|
|
do_install_detail
|
|
|
|
|
}
|
|
|
|
@ -86,6 +88,7 @@ case "${ACTION}" in
|
|
|
|
|
done
|
|
|
|
|
docker rmi -f "$IMAGE_NAME"
|
|
|
|
|
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")
|
|
|
|
|
APP_NAME="btcpayserver"
|
|
|
|
|