use --port $PORT to start server

This commit is contained in:
David Andersen 2017-04-24 09:43:32 -07:00
parent 40974755b6
commit b839d7d339

View File

@ -28,7 +28,7 @@ if ! find -L $SAVES -iname \*.zip -mindepth 1 -print | grep -q .; then
fi
exec /opt/factorio/bin/x64/factorio \
--port 34197 \
--port $PORT \
--start-server-load-latest \
--server-settings $CONFIG/server-settings.json \
--rcon-port 27015 \