Properly shut down server when resetting

This commit is contained in:
kaboom 2021-07-10 18:12:15 +03:00
parent 370a651066
commit c4b4d1b38a

View file

@ -3,7 +3,10 @@
# The following script is used when resetting the server # The following script is used when resetting the server
# Currently every 24 h # 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/ chmod -R 777 ~/server/
rm -rf ~/server/* rm -rf ~/server/*