1
0
mirror of https://github.com/bplein/factorio-docker.git synced 2025-01-24 03:46:49 +02:00

make sure /opt/factorio/temp exists

This commit is contained in:
David Andersen 2019-02-27 19:09:35 +00:00
parent 6fece0c9e3
commit d5ac333364

View File

@ -48,6 +48,7 @@ if [ "$(id -u)" = '0' ]; then
# Take ownership of factorio data if running as root
chown -R factorio:factorio $FACTORIO_VOL
# Make sure we own temp
mkdir -p /opt/factorio/temp
chown -R factorio:factorio /opt/factorio/temp
# Drop to the factorio user
SU_EXEC="su-exec factorio"