[Update] Fix sed for missing *custom files
parent
c0aa3ddf7b
commit
d897ae71f6
|
@ -214,11 +214,13 @@ sed -i '/COMPOSE_PROJECT_NAME=/s/-//g' mailcow.conf
|
||||||
|
|
||||||
echo -e "Fixing PHP-FPM worker ports for Nginx sites..."
|
echo -e "Fixing PHP-FPM worker ports for Nginx sites..."
|
||||||
sed -i 's#9000#9002#g' data/conf/nginx/*.conf
|
sed -i 's#9000#9002#g' data/conf/nginx/*.conf
|
||||||
|
if ls data/conf/nginx/*.custom 1> /dev/null 2>&1; then
|
||||||
sed -i 's#9000#9002#g' data/conf/nginx/*.custom
|
sed -i 's#9000#9002#g' data/conf/nginx/*.custom
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ -f "data/web/nextcloud/occ" ]]; then
|
if [[ -f "data/web/nextcloud/occ" ]]; then
|
||||||
echo "Setting Nextcloud Redis timeout to 0.0..."
|
echo "Setting Nextcloud Redis timeout to 0.0..."
|
||||||
docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "/web/nextcloud/occ config:system:set redis timeout --value=0.0 --type=integer;
|
docker exec -it -u www-data $(docker ps -f name=php-fpm-mailcow -q) bash -c "/web/nextcloud/occ config:system:set redis timeout --value=0.0 --type=integer
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo -e "\e[32mStarting mailcow...\e[0m"
|
echo -e "\e[32mStarting mailcow...\e[0m"
|
||||||
|
|
Loading…
Reference in New Issue