mirror of https://github.com/samply/bridgehead.git
fix: undo permission changes on startup
This commit is contained in:
parent
f1bb5176f5
commit
12f1d23c7b
|
@ -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