Update 'root/usr/libexec/apps/btcpayserver/btcpayserver.sh'

main
ben 1 year ago
parent 047357e61c
commit 5edd43716a

@ -1,6 +1,6 @@
#!/bin/sh
APP_NAME="node-red"
APP_NAME="btcpayserver"
ACTION="${1}"
shift 1
@ -16,7 +16,7 @@ do_install_detail() {
IMAGE_NAME=$(uci get btcpayserver.@btcpayserver[0].image_name 2>/dev/null)
username=$(uci get btcpayserver.@btcpayserver[0].username 2>/dev/null)
password=$(uci get btcpayserver.@btcpayserver[0].password 2>/dev/null)
APP_NAME="node-red"
APP_NAME="btcpayserver"
GEN_PASS=$(< /dev/urandom tr -dc A-Za-z0-9 2>/dev/null | head -c 14; echo)
GEN_PASS2=$(< /dev/urandom tr -dc A-Za-z0-9 2>/dev/null | head -c 14; echo)
@ -30,7 +30,7 @@ do_install_detail() {
fi
[ -z "$port" ] && port=1880
[ -z "$IMAGE_NAME" ] && IMAGE_NAME="btcpayserver/node-red:latest"
[ -z "$IMAGE_NAME" ] && IMAGE_NAME="btcpayserver"
rm -r /opt/docker2/compose/btcpayserver 2>/dev/null
mkdir -p /opt/docker2/compose/btcpayserver/

Loading…
Cancel
Save