mirror of
https://github.com/luzifer-docker/factorio.git
synced 2024-11-09 15:20:00 +00:00
Load latest savegame on start
This commit is contained in:
parent
1bd022e6f9
commit
2805355be7
1 changed files with 1 additions and 1 deletions
2
start.sh
2
start.sh
|
@ -26,7 +26,7 @@ case ${ACTION} in
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ -e server-settings.json ] || cp /opt/defaults/server-settings.json server-settings.json
|
[ -e server-settings.json ] || cp /opt/defaults/server-settings.json server-settings.json
|
||||||
exec ${BINARY} --server-settings server-settings.json --start-server ${MAP_FILE}
|
exec ${BINARY} --server-settings server-settings.json --start-server-load-latest --start-server ${MAP_FILE}
|
||||||
;;
|
;;
|
||||||
"help")
|
"help")
|
||||||
echo "Usage: docker run quay.io/luzifer/factorio [init | create | start]"
|
echo "Usage: docker run quay.io/luzifer/factorio [init | create | start]"
|
||||||
|
|
Loading…
Reference in a new issue