mirror of
https://github.com/kaboomserver/framework.git
synced 2025-04-05 11:29:35 +00:00
Bug fixes
This commit is contained in:
parent
0dc3436cd5
commit
dd72d94cee
3 changed files with 6 additions and 2 deletions
|
@ -1,2 +1,2 @@
|
|||
@reboot su server -c "/home/server/framework/script/init.sh"
|
||||
0 0 * * * su server -c "/home/server/framework/script/reset.sh" && reboot
|
||||
@reboot su server -c '~/framework/script/init.sh'
|
||||
0 0 * * * su server -c '~/framework/script/reset.sh' && reboot
|
||||
|
|
|
@ -6,6 +6,9 @@
|
|||
# Run scripts for starting the Minecraft server and schematic
|
||||
# checker in the background
|
||||
|
||||
cd ~/
|
||||
rm alivechecker kaboom schematics
|
||||
|
||||
while true; do
|
||||
dtach -n kaboom ~/framework/script/server.sh > /dev/null 2>&1
|
||||
dtach -n schematics ~/framework/script/schematics.sh > /dev/null 2>&1
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
~/framework/script/stop.sh
|
||||
|
||||
chmod -R 777 ~/server/
|
||||
rm -rf ~/server/*
|
||||
cp -Tr ~/server-default/ ~/server/
|
||||
|
||||
|
|
Loading…
Reference in a new issue