From d2128877eed62059a5d9ec168890146485de902e 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 9a639d7ed..34ef4ea4c 100644 --- a/admin_manual/installation/server_tuning.rst +++ b/admin_manual/installation/server_tuning.rst @@ -160,6 +160,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 6dc0a1c39f7d1ff5c2b5b0af56bc6e9e18cc0f01 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 34ef4ea4c..12a510ada 100644 --- a/admin_manual/installation/server_tuning.rst +++ b/admin_manual/installation/server_tuning.rst @@ -160,7 +160,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::