Update 02-init_steps.sh

This commit is contained in:
Alexandre
2024-04-08 14:36:06 +02:00
committed by GitHub
parent 1b3af047eb
commit 2fcbf6615e

View File

@@ -159,3 +159,12 @@ else
echo "... disabling thumbnails"
sudo -u abc php /app/www/public/occ config:system:set enable_previews --value=false
fi
##########################
# Set maintenance period #
##########################
if [[ "$(occ config:system:get maintenance_window_start)" == "" ]]; then
echo "... maintenance windows not set, it will be changed to 1"
sudo -u abc php /app/www/public/occ config:system:set maintenance_window_start --type=integer --value=1
fi