From 9ee2af82f62bbf687b41fcba9698b71d5125dd3f Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 6 Mar 2023 11:47:28 +0100 Subject: [PATCH 1/2] update imaginary docs to reflect cap_add sys_nice Signed-off-by: Simon L --- admin_manual/installation/server_tuning.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/admin_manual/installation/server_tuning.rst b/admin_manual/installation/server_tuning.rst index 357a3a93e..8d60dcbd5 100644 --- a/admin_manual/installation/server_tuning.rst +++ b/admin_manual/installation/server_tuning.rst @@ -153,6 +153,7 @@ Nextcloud to use Imaginary by editing your `config.php`: .. warning:: Make sure to start Imaginary with the `-return-size` command line parameter. Otherwise, there will be a minor performance impact. The flag requires a recent version of Imaginary (newer than v1.2.4) and is by default added to the `aio-imaginary` container. + Also make sure to add the capability `SYS_NICE` via `--cap-add=sys_nice` or `cap_add: - SYS_NICE` as it is required by imaginary. .. note:: From 09e86be16651af954468e538effc500305372ce8 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 7 Mar 2023 09:58:38 +0100 Subject: [PATCH 2/2] add note why it is required Signed-off-by: Simon L --- admin_manual/installation/server_tuning.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin_manual/installation/server_tuning.rst b/admin_manual/installation/server_tuning.rst index 8d60dcbd5..13364551f 100644 --- a/admin_manual/installation/server_tuning.rst +++ b/admin_manual/installation/server_tuning.rst @@ -153,7 +153,7 @@ Nextcloud to use Imaginary by editing your `config.php`: .. warning:: Make sure to start Imaginary with the `-return-size` command line parameter. Otherwise, there will be a minor performance impact. The flag requires a recent version of Imaginary (newer than v1.2.4) and is by default added to the `aio-imaginary` container. - Also make sure to add the capability `SYS_NICE` via `--cap-add=sys_nice` or `cap_add: - SYS_NICE` as it is required by imaginary. + Also make sure to add the capability `SYS_NICE` via `--cap-add=sys_nice` or `cap_add: - SYS_NICE` as it is required by imaginary to generate HEIC previews. .. note::