mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21:18 +00:00
Merge branch 'main' into two-servers
This commit is contained in:
commit
0c2506e8ea
1 changed files with 4 additions and 1 deletions
|
@ -414,7 +414,10 @@ start(){
|
|||
echo ${parameters} > /tmp/parameters
|
||||
# Add the steam port from the environment
|
||||
cp -a "${SERVER_CFG_SAVE}" "${SERVER_CFG_DST}"
|
||||
sed -e "s,^steamQueryPort.*,steamQueryPort = ${STEAM_PORT};," -i "${SERVER_CFG_DST}"
|
||||
if [[ ${STEAM_PORT} != "" ]]
|
||||
then
|
||||
sed -e "s,^steamQueryPort.*,steamQueryPort = ${STEAM_PORT};," -i "${SERVER_CFG_DST}"
|
||||
fi
|
||||
./DayZServer "${mod_command_line}" ${parameters}
|
||||
EXIT_CODE=$?
|
||||
printf "\n[ ${yellow}DayZ${default} ] Server exited. Exit code: ${EXIT_CODE}\n"
|
||||
|
|
Loading…
Add table
Reference in a new issue