Skip to content

Commit a486eee

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 6dee9c5 commit a486eee

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
@@ -252,8 +252,10 @@ Nextcloud to use Imaginary by editing your ``config.php`` file:
252252

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

258260
.. note::
259261

0 commit comments

Comments
 (0)