factorio-docker/docker-entrypoint.sh
David Andersen f90f3c7569 removed exec
2016-10-25 19:30:12 +00:00

11 lines
193 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
/opt/factorio/bin/x64/factorio --start-server-load-latest