Properly shut down server when resetting

This commit is contained in:
kaboom 2021-07-10 18:12:15 +03:00
parent 370a651066
commit c4b4d1b38a
1 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,10 @@
# The following script is used when resetting the server
# Currently every 24 h
~/framework/script/stop.sh
pkill -9 init.sh
pkill -9 schematics.sh
pkill -9 server.sh
pkill -9 java
chmod -R 777 ~/server/
rm -rf ~/server/*