mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
Update UPDATE.sh
This commit is contained in:
parent
05f0dd3aac
commit
6b45725d24
@ -8,7 +8,6 @@ for dir in /home/*; do
|
||||
user=$(basename "$dir")
|
||||
|
||||
if [[ -f "$file" ]]; then
|
||||
|
||||
cp /etc/openpanel/varnish/default.vcl file="$dir/default.vcl"
|
||||
echo "- Updated Varnish default.vcl template for user: $user"
|
||||
|
||||
@ -20,4 +19,12 @@ for dir in /home/*; do
|
||||
fi
|
||||
fi
|
||||
|
||||
file="$dir/docker-compose.yml"
|
||||
user=$(basename "$dir")
|
||||
|
||||
if [[ -f "$file" ]]; then
|
||||
echo "Fixing permission issues in PHP containers.. You should restart services manually to re-apply changes."
|
||||
sed -i 's/- APP_USER=${CONTEXT:-root}/- APP_USER=root/g' $file
|
||||
sed -i 's/- APP_GROUP=${CONTEXT:-root}/- APP_GROUP=root/g' $file
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user