mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
Merge branch 'v1.5' of https://github.com/rootzoll/raspiblitz into v1.5
This commit is contained in:
@@ -71,7 +71,15 @@ logsMegaByte=$(sudo du -c -m /var/log | grep "total" | awk '{print $1;}')
|
|||||||
if [ ${logsMegaByte} -gt 1000 ]; then
|
if [ ${logsMegaByte} -gt 1000 ]; then
|
||||||
echo "WARN !! Logs /var/log in are bigger then 1GB"
|
echo "WARN !! Logs /var/log in are bigger then 1GB"
|
||||||
echo "ACTION --> DELETED ALL LOGS"
|
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/*
|
sudo rm -r /var/log/*
|
||||||
|
if [ $nginxLog == 1 ]; then
|
||||||
|
sudo mkdir /var/log/nginx
|
||||||
|
echo "Recreated /var/log/nginx"
|
||||||
|
fi
|
||||||
sleep 3
|
sleep 3
|
||||||
echo "WARN !! Logs in /var/log in were bigger then 1GB and got emergency delete to prevent fillup."
|
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."
|
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
|
sudo -u btcpay git clone https://github.com/dgarage/NBXplorer.git 2>/dev/null
|
||||||
cd NBXplorer
|
cd NBXplorer
|
||||||
# check https://github.com/dgarage/NBXplorer/releases
|
# 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
|
# from the build.sh with path
|
||||||
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release NBXplorer/NBXplorer.csproj
|
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
|
sudo -u btcpay git clone https://github.com/btcpayserver/btcpayserver.git 2>/dev/null
|
||||||
cd btcpayserver
|
cd btcpayserver
|
||||||
# check https://github.com/btcpayserver/btcpayserver/releases
|
# 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
|
# from the build.sh with path
|
||||||
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release /home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj
|
sudo -u btcpay /home/btcpay/dotnet/dotnet build -c Release /home/btcpay/btcpayserver/BTCPayServer/BTCPayServer.csproj
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user