Skip to content

Commit

Permalink
Update 02-init_steps.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Oct 16, 2023
1 parent 3c107f1 commit 8b84a0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nextcloud/rootfs/etc/cont-init.d/02-init_steps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ timeout 10 sudo -u abc php /app/www/public/occ config:system:set check_data_dire
for variable in env_memory_limit env_upload_max_filesize env_post_max_size; do
if bashio::config.has_value "$variable"; then
variable="${variable#env_}"
sed -i "/$variable/c $variable = (bashio::config env_$variable)" /etc/php*/conf.d/nextcloud.ini
sed -i "/$variable/c $variable = (bashio::config env_$variable)" /etc/php*/php.ini
sed -i "/$variable/c $variable = $(bashio::config env_$variable)" /etc/php*/conf.d/nextcloud.ini
sed -i "/$variable/c $variable = $(bashio::config env_$variable)" /etc/php*/php.ini
fi
done

0 comments on commit 8b84a0f

Please sign in to comment.