1
0
mirror of https://github.com/LpmRaven/factorio-docker-server.git synced 2024-11-30 08:06:56 +02:00
factorio-docker-server/init.sh
2016-10-03 21:56:10 +02:00

7 lines
152 B
Bash
Executable File

#!/bin/bash
if [ ! -f $SAVEFILE ]; then
/opt/factorio/bin/x64/factorio --create $SAVEFILE
fi
/opt/factorio/bin/x64/factorio --start-server $SAVEFILE