mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
feat: allow updater to extend .user.ini on update
When running nextcloud with a web hoster it might be necessary to extend .user.ini after each update (e.g. adding memory_limit). To automate this step, an additional config entry may be provided in config.php that specifies the lines to be added to .user.ini. If the config option 'user_ini_additional_lines' exists, the provided value (string or array of strings) will be added to .user.ini. Signed-off-by: Mathias Koehrer <koehrer08@koehrer-mail.de> Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
This commit is contained in:
parent
bdea4337d3
commit
109b454e48
1 changed files with 8 additions and 0 deletions
|
|
@ -2460,6 +2460,14 @@ $CONFIG = [
|
|||
*/
|
||||
'upgrade.cli-upgrade-link' => '',
|
||||
|
||||
/**
|
||||
* Additional line(s) (string or array of strings)
|
||||
* that will be added to .user.ini on each update by the updater.
|
||||
*
|
||||
* Defaults to ``''`` (empty string)
|
||||
*/
|
||||
'user_ini_additional_lines' => '',
|
||||
|
||||
/**
|
||||
* Customize the server logs documentation link for exception handling.
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in a new issue