moved modification of start script line
Moved the modification of the start script to after the online checks with other script downloads.
This commit is contained in:
parent
c3d86184d5
commit
cd658559a2
@ -21,6 +21,7 @@ TIMESTAMP=`date +%s`
|
||||
INTERNET_STATUS="UP"
|
||||
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/settings.json && mv settings.json ~/qortal
|
||||
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/check-qortal-status.sh && mv check-qortal-status.sh ~/Desktop && chmod +x ~/Desktop/check-qortal-status.sh
|
||||
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/start-modified-memory-args.sh && mv start-modified-memory-args.sh ~/qortal/start.sh && chmod +x ~/qortal/start.sh
|
||||
fi
|
||||
else
|
||||
if [ "$INTERNET_STATUS" = "UP" ]; then
|
||||
@ -74,14 +75,10 @@ else
|
||||
killall -9 java
|
||||
sleep 5
|
||||
rm -R db
|
||||
rm start.sh
|
||||
rm qortal.jar
|
||||
rm log.t*
|
||||
mv ~/qortal.jar .
|
||||
rm ~/remote.md5 local.md5
|
||||
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/start-modified-memory-args.sh
|
||||
mv start-modified-memory-args.sh start.sh
|
||||
chmod +x start.sh
|
||||
./start.sh
|
||||
mkdir ~/qortal/new-scripts
|
||||
mkdir ~/qortal/new-scripts/backups
|
||||
|
Loading…
x
Reference in New Issue
Block a user