mirror of https://github.com/samply/bridgehead.git
fix: undo permission changes on startup
This commit is contained in:
parent
ca7772421b
commit
164d1a66fb
|
@ -132,10 +132,6 @@ assertVarsNotEmpty() {
|
||||||
fixPermissions() {
|
fixPermissions() {
|
||||||
CHOWN=$(which chown)
|
CHOWN=$(which chown)
|
||||||
sudo $CHOWN -R bridgehead /etc/bridgehead /srv/docker/bridgehead
|
sudo $CHOWN -R bridgehead /etc/bridgehead /srv/docker/bridgehead
|
||||||
set +e
|
|
||||||
sudo $CHOWN -R --silent bridgehead /var/cache/bridgehead
|
|
||||||
sudo $CHOWN -R --silent bridgehead /tmp/bridgehead
|
|
||||||
set -e
|
|
||||||
}
|
}
|
||||||
|
|
||||||
source lib/monitoring.sh
|
source lib/monitoring.sh
|
||||||
|
|
Loading…
Reference in New Issue