fix: replace php config var in config file

This commit is contained in:
2026-06-25 16:28:41 +02:00
parent b4f72fa1c5
commit 4939f18c26

View File

@@ -36,6 +36,7 @@ if ! -f %{_sysconfdir}/nextcloud/config.php; then
export INSTANCE_ID=$(openssl rand -hex 16)
export PASSWORD_SALT=$(openssl rand -hex 16)
export SECRET=$(openssl rand -hex 16)
export CONFIG='$CONFIG'
envsubst < %{_sysconfdir}/nextcloud/config.php.tpl > %{_sysconfdir}/nextcloud/config.php
chown root:nextcloud %{_sysconfdir}/nextcloud/config.php
chmod 640 %{_sysconfdir}/nextcloud/config.php