Added catch all to allow custom options for factorio (#169)

This commit is contained in:
Florian Kinder 2018-05-30 20:37:46 +02:00 committed by GitHub
parent 275faa1fcc
commit d1258008c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,4 @@
#!/bin/sh -x #!/bin/sh -x
set -e set -e
id id
@ -45,4 +44,5 @@ exec /opt/factorio/bin/x64/factorio \
--server-banlist $CONFIG/server-banlist.json \ --server-banlist $CONFIG/server-banlist.json \
--rcon-port $RCON_PORT \ --rcon-port $RCON_PORT \
--rcon-password "$(cat $CONFIG/rconpw)" \ --rcon-password "$(cat $CONFIG/rconpw)" \
--server-id /factorio/config/server-id.json --server-id /factorio/config/server-id.json \
$@

View File

@ -39,7 +39,7 @@ sudo docker run -d \
-p 27015:27015/tcp \ -p 27015:27015/tcp \
-v /opt/factorio:/factorio \ -v /opt/factorio:/factorio \
--name factorio \ --name factorio \
--restart=always \ --restart=always \
dtandersen/factorio dtandersen/factorio
``` ```