update stuff

This commit is contained in:
Chipmunk 2024-06-13 23:51:04 -04:00
commit 4a0e206f09
3 changed files with 7 additions and 7 deletions

View file

@ -2,7 +2,7 @@
PATH=/bin:/sbin:/usr/bin:/usr/sbin:$PATH
# Start the Minecraft server after an OS reboot
@reboot su server -c '~/framework/script/init.sh'
@reboot su infinite -c '~/framework/script/init.sh'
# Reset and reboot the server every 24 hours (0 0 * * * / at 00:00)
0 0 * * * su server -c '~/framework/script/reset.sh' && reboot
0 0 * * * su infinite -c '~/framework/script/reset.sh && ~/framework/script/init.sh'

View file

@ -7,10 +7,10 @@
# checker in the background
cd ~/
rm kaboom schematics
rm infinite 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
dtach -n infinite ~/framework/script/server.sh > /dev/null 2>&1
# dtach -n schematics ~/framework/script/schematics.sh > /dev/null 2>&1
sleep 5
done &

View file

@ -43,8 +43,8 @@ while true; do
# Start Minecraft server
java \
-Xms1700M \
-Xmx1700M \
-Xms700M \
-Xmx700M \
-XX:+UseG1GC \
-XX:+ParallelRefProcEnabled \
-XX:MaxGCPauseMillis=200 \