mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 22:18:07 +00:00
Reset BTCPaySever env files if re-installed
This commit is contained in:
parent
7a2eaf3600
commit
8b093a2f2a
|
@ -34,6 +34,10 @@ elif [ "$APP" = "netdata" ]; then
|
|||
systemctl stop netdata
|
||||
docker rmi netdata/netdata || true
|
||||
elif [ "$APP" = "btcpayserver" ]; then
|
||||
cp /usr/share/btcpayserver/env /opt/mynode/btcpayserver/.env
|
||||
cp /usr/share/btcpayserver/btcpay-env.sh /opt/mynode/btcpayserver/
|
||||
cp /usr/share/btcpayserver/docker-compose.generated.yml /opt/mynode/btcpayserver/
|
||||
cp /usr/share/btcpayserver/helpers.sh /opt/mynode/btcpayserver/
|
||||
. "/opt/mynode/btcpayserver/btcpay-env.sh" && cd "$BTCPAY_BASE_DIRECTORY" && . helpers.sh && btcpay_remove
|
||||
cd ~
|
||||
elif [ "$APP" = "tor" ]; then
|
||||
|
|
|
@ -25,6 +25,10 @@ sync
|
|||
if [ "$APP" = "bos" ]; then
|
||||
npm uninstall -g balanceofsatoshis
|
||||
elif [ "$APP" = "btcpayserver" ]; then
|
||||
cp /usr/share/btcpayserver/env /opt/mynode/btcpayserver/.env
|
||||
cp /usr/share/btcpayserver/btcpay-env.sh /opt/mynode/btcpayserver/
|
||||
cp /usr/share/btcpayserver/docker-compose.generated.yml /opt/mynode/btcpayserver/
|
||||
cp /usr/share/btcpayserver/helpers.sh /opt/mynode/btcpayserver/
|
||||
. "/opt/mynode/btcpayserver/btcpay-env.sh" && cd "$BTCPAY_BASE_DIRECTORY" && . helpers.sh && btcpay_remove
|
||||
cd ~
|
||||
elif [ "$APP" = "btcrpcexplorer" ]; then
|
||||
|
|
Loading…
Reference in New Issue
Block a user