Bug fixes

This commit is contained in:
mathiascode 2020-04-17 01:01:58 +03:00
parent 0dc3436cd5
commit dd72d94cee
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -5,6 +5,7 @@
~/framework/script/stop.sh
chmod -R 777 ~/server/
rm -rf ~/server/*
cp -Tr ~/server-default/ ~/server/