.
This commit is contained in:
parent
67f7b18ea7
commit
eee14a7fc2
@ -82,6 +82,13 @@ RUN \\
|
||||
"[ ! -f \"\${CONFIG}/server-settings.json\" ] && cp /opt/factorio/data/server-settings.example.json \${CONFIG}/server-settings.json" \\
|
||||
"[ ! -f \"\${CONFIG}/map-gen-settings.json\" ] && cp /opt/factorio/data/map-gen-settings.example.json \${CONFIG}/map-gen-settings.json" \\
|
||||
"[ ! -f \"\${CONFIG}/map-settings.json\" ] && cp /opt/factorio/data/map-settings.example.json \${CONFIG}/map-settings.json" \\
|
||||
"find -L \${SAVES} -iname \\*.tmp.zip -mindepth 1 -print | grep -q .; then rm -f \${SAVES}/*.tmp.zip" \\
|
||||
"if ! find -L \${SAVES} -iname \\*.tmp.zip -mindepth 1 -print | grep -q .; then" \\
|
||||
" /opt/factorio/bin/x64/factorio \\" \\
|
||||
" --create \${SAVES}/_autosave1.zip \\" \\
|
||||
" --map-gen-settings \${CONFIG}/map-gen-settings.json \\" \\
|
||||
" --map-settings \${CONFIG}/map-settings.json" \\
|
||||
"fi" \\
|
||||
|
||||
"""
|
||||
|
||||
|
Reference in New Issue
Block a user