Load latest savegame on start

This commit is contained in:
Knut Ahlers 2016-12-15 01:45:41 +01:00
parent 1bd022e6f9
commit 2805355be7
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -26,7 +26,7 @@ case ${ACTION} in
fi
[ -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")
echo "Usage: docker run quay.io/luzifer/factorio [init | create | start]"