mirror of
https://github.com/kaboomserver/framework.git
synced 2024-09-29 21:03:15 +00:00
14 lines
399 B
Bash
14 lines
399 B
Bash
|
#!/bin/sh
|
||
|
|
||
|
# This is the core script used when booting up the server
|
||
|
# It asumes that the "framework" folder is located in the home directory
|
||
|
|
||
|
# Run scripts for starting the Minecraft server and schematic
|
||
|
# checker in the background
|
||
|
|
||
|
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
|
||
|
sleep 5
|
||
|
done &
|