QORTector-scripts/refresh-qortal.sh
crowetic 6a451e6f6c
start qortal core from scratch with newest version
This script will 'refresh' the Qortal Core on the QORTector devices, it will remove the qortal.jar, db folder, and log files. It will then download the newest jar, and re-bootstrap.
2022-04-07 12:32:21 -07:00

11 lines
159 B
Bash

#!/bin/sh
cd
cd qortal
./stop.sh
sleep 5
rm -R db
rm qortal.jar
rm log.t*
wget https://github.com/qortal/qortal/releases/latest/download/qortal.jar
./start.sh