diff options
author | Reno Reckling <e-github@wthack.de> | 2024-03-06 14:24:00 +0100 |
---|---|---|
committer | Daniel Kesselberg <mail@danielkesselberg.de> | 2024-09-20 17:00:06 +0200 |
commit | ef7e857881b72b607f36a41c9f178c12db068b7a (patch) | |
tree | f697f622ce17ecaee56e69c70072c8f23f720566 /config | |
parent | bc5222726b7f6f04308231ff55b8e89ade582d37 (diff) | |
download | nextcloud-server-ef7e857881b72b607f36a41c9f178c12db068b7a.tar.gz nextcloud-server-ef7e857881b72b607f36a41c9f178c12db068b7a.zip |
feat: make search path for BinaryFinder customizable.
This feature is important for nextcloud running on
distributions like NixOS, where all the standard
search paths do not exist.
Also added tests.
This fixes issue #43922
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Reno Reckling <e-github@wthack.de>
Diffstat (limited to 'config')
-rw-r--r-- | config/config.sample.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/config/config.sample.php b/config/config.sample.php index c1961f7d250..21a77a8cbf6 100644 --- a/config/config.sample.php +++ b/config/config.sample.php @@ -2533,4 +2533,20 @@ $CONFIG = [ * Defaults to ``true`` */ 'enable_non-accessible_features' => true, + +/** + * Directories where nextcloud looks for binaries. + * This is used to find external binaries like libreoffice, sendmail, ffmpeg and more. + * + * Defaults to ``['/usr/local/sbin','/usr/local/bin','/usr/sbin','/usr/bin','/sbin','/bin','/opt/bin']`` + */ +'binary_search_paths' => [ + '/usr/local/sbin', + '/usr/local/bin', + '/usr/sbin', + '/usr/bin', + '/sbin', + '/bin', + '/opt/bin', +], ]; |