mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-28 22:40:20 +00:00
add our own entrypoint to fts and collabora
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
@@ -1071,8 +1071,6 @@ class ConfigurationManager
|
||||
'NC_BASE_DN' => $this->getBaseDN(),
|
||||
'AIO_TOKEN' => $this->aioToken,
|
||||
'AIO_LOG_LEVEL' => $this->aioLogLevel,
|
||||
'COLLABORA_LOG_LEVEL' => $this->getCollaboraLogLevel(),
|
||||
'ELASTIC_LOG_LEVEL' => $this->getElasticLogLevel(),
|
||||
'BORGBACKUP_REMOTE_REPO' => $this->borgRemoteRepo,
|
||||
'BORGBACKUP_MODE' => $this->backupMode,
|
||||
'AIO_URL' => $this->aioUrl,
|
||||
@@ -1120,17 +1118,6 @@ class ConfigurationManager
|
||||
default => $this->getRegisteredSecret($placeholder),
|
||||
};
|
||||
}
|
||||
|
||||
private function getCollaboraLogLevel() : string {
|
||||
return match ($this->aioLogLevel) {
|
||||
'warn' => 'warning',
|
||||
default => $this->aioLogLevel,
|
||||
};
|
||||
}
|
||||
|
||||
private function getElasticLogLevel() : string {
|
||||
return strtoupper($this->aioLogLevel);
|
||||
}
|
||||
|
||||
private function booleanize(mixed $value) : bool {
|
||||
return in_array($value, [true, 'true'], true);
|
||||
|
||||
Reference in New Issue
Block a user