Added some additional directory handling

pull/1/head
riley 1 year ago
parent 6e2a770879
commit 5fc09730e9

@ -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"

Loading…
Cancel
Save