Skip to content

Commit 0d7f617

Browse files
skjnldsvbackportbot[bot]
authored andcommitted
docs(admin): clarify SYS_NICE capability is Docker-specific
The existing warning about adding SYS_NICE for HEIC preview generation did not make clear this only applies to Docker deployments. Users running Imaginary outside Docker were confused by a Docker-specific instruction that is irrelevant to their setup. Rewrites the sentence to explicitly mention Docker, names both the CLI flag and Compose key, and adds a note that this does not apply outside Docker. Fixes #11083 Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
1 parent 05a4532 commit 0d7f617

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

admin_manual/installation/server_tuning.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,10 @@ Nextcloud to use Imaginary by editing your ``config.php`` file:
251251

252252
Make sure to start Imaginary with the ``-return-size`` command line parameter. Otherwise, there will be a
253253
minor performance impact. The flag requires a recent version of Imaginary (newer than v1.2.4).
254-
Also, ensure to add the capability ``SYS_NICE`` via ``--cap-add=sys_nice`` or (for Compose)
255-
``cap_add: - SYS_NICE``, as it is required by Imaginary to generate HEIC previews.
254+
Also, if running Imaginary in Docker, ensure to add the Docker container capability ``SYS_NICE``
255+
via ``--cap-add=sys_nice`` (Docker CLI) or ``cap_add: - SYS_NICE`` (Docker Compose), as it is
256+
required by Imaginary to generate HEIC previews. This is not applicable when running Imaginary
257+
outside of Docker.
256258

257259
.. note::
258260

0 commit comments

Comments
 (0)