mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00
Stop doing stupid shit.
This commit is contained in:
parent
8cf493e8d5
commit
3ae7bc4454
1 changed files with 3 additions and 5 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue