File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ ENV AUTOPAUSE="true" \
3232 PUID="1000" \
3333 SERVERBEACONPORT="15000" \
3434 SERVERGAMEPORT="7777" \
35- SERVERIP="0.0.0.0 " \
35+ SERVERIP="" \
3636 SERVERQUERYPORT="15777" \
3737 SKIPUPDATE="false" \
3838 STEAMAPPID="1690800" \
Original file line number Diff line number Diff line change @@ -93,6 +93,10 @@ printf "Setting autosave on disconnect to %s\\n" "${AUTOSAVEONDISCONNECT^}"
9393set_ini_prop " ServerSettings.ini" " \/Script\/FactoryGame\.FGServerSubsystem" " mAutoSaveOnDisconnect" " ${AUTOSAVEONDISCONNECT^} "
9494# # END ServerSettings.ini
9595
96+ if [ -n " $SERVERIP " ]; then
97+ SERVERIP=" -multihome \" $SERVERIP \" "
98+ fi
99+
96100if ! [[ " ${SKIPUPDATE,,} " == " true" ]]; then
97101 if [[ " ${STEAMBETA,,} " == " true" ]]; then
98102 printf " Experimental flag is set. Experimental will be downloaded instead of Early Access.\\ n"
152156
153157cd /config/gamefiles || exit 1
154158
155- exec ./FactoryServer.sh -log -NoSteamClient -unattended ? listen -Port=" $SERVERGAMEPORT " -BeaconPort=" $SERVERBEACONPORT " -ServerQueryPort=" $SERVERQUERYPORT " -multihome= " $SERVERIP " " $@ "
159+ exec ./FactoryServer.sh -log -NoSteamClient -unattended ? listen -Port=" $SERVERGAMEPORT " -BeaconPort=" $SERVERBEACONPORT " -ServerQueryPort=" $SERVERQUERYPORT " $SERVERIP " $@ "
You can’t perform that action at this time.
0 commit comments