mirror of https://github.com/samply/bridgehead.git
fix: Only give writeable dirs the docker role
This commit is contained in:
parent
f65c019065
commit
62f579b4b9
|
@ -88,8 +88,9 @@ elif [[ "$DEV_MODE" == "DEV" ]]; then
|
||||||
git clone "$url" /etc/bridgehead
|
git clone "$url" /etc/bridgehead
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chown -R bridgehead /etc/bridgehead /srv/docker/bridgehead
|
||||||
mkdir -p /tmp/bridgehead /var/cache/bridgehead
|
mkdir -p /tmp/bridgehead /var/cache/bridgehead
|
||||||
chown -R bridgehead:docker /etc/bridgehead /srv/docker/bridgehead /tmp/bridgehead /var/cache/bridgehead
|
chown -R bridgehead:docker /tmp/bridgehead /var/cache/bridgehead
|
||||||
chmod -R g+wr /var/cache/bridgehead /tmp/bridgehead
|
chmod -R g+wr /var/cache/bridgehead /tmp/bridgehead
|
||||||
|
|
||||||
log INFO "System preparation is completed and configuration is present."
|
log INFO "System preparation is completed and configuration is present."
|
||||||
|
|
Loading…
Reference in New Issue