Create refresh-and-modify-start-script.sh

New script to refresh-qortal and modify the start script for systems with lower RAM or memory crashes at the same time.
This commit is contained in:
crowetic 2022-10-27 16:07:24 -07:00 committed by GitHub
parent d1b289bdde
commit 2108dd53e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,14 @@
#!/bin/sh
cd
cd qortal
./stop.sh
sleep 5
rm -R db
rm start.sh
rm qortal.jar
rm log.t*
curl -L -O https://github.com/qortal/qortal/releases/latest/download/qortal.jar
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