QORTector-scripts/refresh-qortal.sh
crowetic 65849a55fc
don't use stop script, just kill java.
There is no need to use the stop script when we're going to be replacing the db anyway, just kill it to ensure java is completely stopped.
2022-10-27 16:27:38 -07:00

11 lines
171 B
Bash

#!/bin/sh
cd
cd qortal
killall -9 java
sleep 5
rm -R db
rm qortal.jar
rm log.t*
curl -L -O https://github.com/qortal/qortal/releases/latest/download/qortal.jar
./start.sh