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

7 lines
249 B
Bash
Raw Permalink Normal View History

2016-03-04 09:55:08 +02:00
#!/bin/bash
2016-10-03 21:56:10 +02:00
if [ ! -f $SAVEFILE ]; then
2021-09-05 02:58:05 +02:00
/opt/factorio/bin/x64/factorio --create $SAVEFILE --map-gen-settings $MAPGENSETTINGS --map-settings $MAPSETTINGS
2016-03-04 09:55:08 +02:00
fi
2016-12-17 23:31:42 +02:00
/opt/factorio/bin/x64/factorio --start-server $SAVEFILE --server-settings $SERVERSETTINGS