Properly shut down server when resetting
This commit is contained in:
parent
370a651066
commit
c4b4d1b38a
1 changed files with 4 additions and 1 deletions
|
@ -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/*
|
||||||
|
|
Loading…
Reference in a new issue