mirror of
https://github.com/LpmRaven/factorio-docker-server.git
synced 2024-12-12 08:24:07 +02:00
7 lines
218 B
Bash
Executable File
7 lines
218 B
Bash
Executable File
#!/bin/bash
|
|
|
|
if [ ! -f $SAVEFILE ]; then
|
|
/opt/factorio/bin/x64/factorio --create $SAVEFILE --map-gen-settings $MAPSETTINGS
|
|
fi
|
|
/opt/factorio/bin/x64/factorio --start-server $SAVEFILE --server-settings $SERVERSETTINGS
|