mirror of
https://github.com/factoriotools/factorio-docker.git
synced 2024-11-07 11:17:23 +01:00
11 lines
198 B
Bash
Executable File
11 lines
198 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
SAVES=/opt/factorio/saves
|
|
|
|
if [ ! -f $SAVES/*.zip ]
|
|
then
|
|
/opt/factorio/bin/x64/factorio --create $SAVES/save.zip
|
|
fi
|
|
|
|
exec /opt/factorio/bin/x64/factorio --start-server-load-latest
|