mirror of
https://github.com/kaboomserver/framework.git
synced 2025-01-08 15:38:48 +00:00
14 lines
243 B
Bash
Executable file
14 lines
243 B
Bash
Executable file
#!/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
|
|
|
|
chmod -R 777 ~/server/
|
|
rm -rf ~/server/*
|
|
cp -Tr ~/server-default/ ~/server/
|
|
|