1
0
mirror of https://github.com/LpmRaven/factorio-docker-server.git synced 2024-11-30 08:06:56 +02:00

Update init.sh

This commit is contained in:
Liam Raven 2021-09-05 10:58:05 +10:00 committed by GitHub
parent 121f1465e3
commit bc48132b29
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
#!/bin/bash
if [ ! -f $SAVEFILE ]; then
/opt/factorio/bin/x64/factorio --create $SAVEFILE --map-gen-settings $MAPSETTINGS
/opt/factorio/bin/x64/factorio --create $SAVEFILE --map-gen-settings $MAPGENSETTINGS --map-settings $MAPSETTINGS
fi
/opt/factorio/bin/x64/factorio --start-server $SAVEFILE --server-settings $SERVERSETTINGS