1
0
mirror of https://github.com/LpmRaven/factorio-docker-server.git synced 2024-12-12 08:24:07 +02:00
factorio-docker-server/init.sh

7 lines
152 B
Bash
Raw Normal View History

2016-03-04 09:55:08 +02:00
#!/bin/bash
2016-10-03 21:56:10 +02:00
if [ ! -f $SAVEFILE ]; then
/opt/factorio/bin/x64/factorio --create $SAVEFILE
2016-03-04 09:55:08 +02:00
fi
2016-10-03 21:56:10 +02:00
/opt/factorio/bin/x64/factorio --start-server $SAVEFILE