added update to start-qortal.sh script

script will now update the start-qortal.sh script and include the stop command to avoid 'repository in use' error.
This commit is contained in:
crowetic 2022-11-25 10:10:47 -08:00 committed by GitHub
parent a847f8f7b2
commit c3aa17693b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ TIMESTAMP=`date +%s`
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
curl -L -O https://raw.githubusercontent.com/crowetic/QORTector-scripts/main/start-qortal.sh && chmod +x start-qortal.sh
fi
else
if [ "$INTERNET_STATUS" = "UP" ]; then