Stop doing stupid shit.

This commit is contained in:
Daniel Ceregatti 2024-06-30 11:53:27 -07:00
parent 8cf493e8d5
commit 3ae7bc4454

View file

@ -5,7 +5,7 @@ source dz-common
# Server container base directories # Server container base directories
MPMISSIONS="${SERVER_FILES}/mpmissions" MPMISSIONS="${SERVER_FILES}/mpmissions"
mkdir -p ${SERVER_PROFILE}/battleye mkdir -p "${SERVER_PROFILE}"/battleye
# Server configuration file # Server configuration file
SERVER_CFG_FILE="serverDZ.cfg" SERVER_CFG_FILE="serverDZ.cfg"
@ -381,10 +381,8 @@ start(){
echo "Caught SIGTERM/SIGINT..." echo "Caught SIGTERM/SIGINT..."
exit 0 exit 0
' SIGTERM SIGINT ' SIGTERM SIGINT
while [ true ] tail -f /dev/null &
do wait $!
sleep 1
done
exit 0 exit 0
fi fi
# Clean up from previous runs # Clean up from previous runs