mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
mediawiki: Use drop-in config component for /etc files
- Don't ship /etc/mediawiki/FreedomBoxSettings.php anymore. Create the file on first setup. Keep old file on update. - Simplify and unify how the configuration settings are read and written. Tests: - Run unit and functional tests. - All the drop-in config files in /etc/ are symlinks. - Shipped configuration is effective. - Upgrade from older version keeps old configuration. - Config files are all symlinks in /etc/ - When upgrading from older version FreedomBoxSettings.php does not change. FreedomBoxStaticSettings.php becomes a symlink. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
c326b35238
commit
cd512bd24c
8 files changed
+106
-174
No files matched your search
Vendored
+2
@@ -117,3 +117,5 @@ rm_conffile /etc/letsencrypt/renewal-hooks/deploy/50-freedombox 23.10~
|
||||
rm_conffile /etc/apache2/conf-available/matrix-synapse-plinth.conf 23.10~
|
||||
rm_conffile /etc/fail2ban/jail.d/matrix-auth-freedombox.conf 23.10~
|
||||
rm_conffile /etc/fail2ban/filter.d/matrix-auth-freedombox.conf 23.10~
|
||||
rm_conffile /etc/apache2/conf-available/mediawiki-freedombox.conf 23.10~
|
||||
rm_conffile /etc/mediawiki/FreedomBoxStaticSettings.php 23.10~
|
||||
Reference in new issue
Block a user