framework/script/reset.sh

15 lines
243 B
Bash
Raw Normal View History

2020-04-16 19:08:07 +00:00
#!/bin/sh
# The following script is used when resetting the server
# Currently every 24 h
pkill -9 init.sh
pkill -9 schematics.sh
pkill -9 server.sh
pkill -9 java
2020-04-16 19:08:07 +00:00
2020-04-16 22:01:58 +00:00
chmod -R 777 ~/server/
2020-04-16 19:08:07 +00:00
rm -rf ~/server/*
cp -Tr ~/server-default/ ~/server/
2020-04-16 19:17:16 +00:00