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.
11 lines
171 B
Bash
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
|