mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
Merge branch 'v1.5' of https://github.com/rootzoll/raspiblitz into v1.5
This commit is contained in:
commit
b951a472c3
@ -71,7 +71,15 @@ logsMegaByte=$(sudo du -c -m /var/log | grep "total" | awk '{print $1;}')
|
||||
if [ ${logsMegaByte} -gt 1000 ]; then
|
||||
echo "WARN !! Logs /var/log in are bigger then 1GB"
|
||||
echo "ACTION --> DELETED ALL LOGS"
|
||||
if [ -d "/var/log/nginx" ]; then
|
||||
nginxLog=1
|
||||
echo "/var/log/nginx is present"
|
||||
fi
|
||||
sudo rm -r /var/log/*
|
||||
if [ $nginxLog == 1 ]; then
|
||||
sudo mkdir /var/log/nginx
|
||||
echo "Recreated /var/log/nginx"
|
||||
fi
|
||||
sleep 3
|
||||
echo "WARN !! Logs in /var/log in were bigger then 1GB and got emergency delete to prevent fillup."
|
||||
echo "If you see this in the logs please report to the GitHub issues, so LOG config needs to hbe optimized."
|
||||
|
@ -161,7 +161,7 @@ if [ "$1" = "1" ] || [ "$1" = "on" ]; then
|
||||
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git 2>/dev/null
|
||||
cd NBXplorer
|
||||
# check https://github.com/dgarage/NBXplorer/releases
|
||||
sudo -u btcpay git reset --hard v2.1.7
|
||||
sudo -u btcpay git reset --hard v2.1.24
|
||||
# from the build.sh with path
|
||||
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release NBXplorer/NBXplorer.csproj
|
||||
|
||||
@ -236,7 +236,7 @@ EOF
|
||||
sudo -u btcpay git clone https://github.com/btcpayserver/btcpayserver.git 2>/dev/null
|
||||
cd btcpayserver
|
||||
# check https://github.com/btcpayserver/btcpayserver/releases
|
||||
sudo -u btcpay git reset --hard v1.0.3.164
|
||||
sudo -u btcpay git reset --hard v1.0.4.0
|
||||
# from the build.sh with path
|
||||
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release /home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user