From 9d32773e84fee79de86b34a514617e6401341e0c Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Fri, 2 Jul 2021 17:23:31 +0200 Subject: [PATCH] html doc --- src/doc/user/usermanual.html | 65 +++++++++++++++++++++++++----------- 1 file changed, 46 insertions(+), 19 deletions(-) diff --git a/src/doc/user/usermanual.html b/src/doc/user/usermanual.html index f98f2540..043827d3 100644 --- a/src/doc/user/usermanual.html +++ b/src/doc/user/usermanual.html @@ -423,7 +423,7 @@ alink="#0000FF">

List of Tables

-
3.1. Keyboard shortcuts
+
3.1. Keyboard shortcuts
@@ -2591,27 +2591,37 @@ metadatacmds = ; share/recoll/examples) for starting the indexing daemon with systemd.

-

recollindex-user.service +

recollindex.service would be used for starting recollindex as a user - service, and can be installed with the following + service. The indexer will start when the user logs in and + run while there is a session open for them.

+

recollindex@.service is + a template service which would be used for starting the + indexer at boot time, running as a specific user. It can + be useful when running the text search as a shared + service (e.g. when users access it through the WEB + UI).

+

If configured to do so, the unit files should have + been installed in your system's default systemd paths + (usually /usr/lib/systemd/system/ and + /usr/lib/systemd/user/). If + not, you may need to copy the files there before starting + the service.

+

With the unit files installed in the proper location, + the user unit can be started with the following commands:

systemctl --user link /usr/share/recoll/examples/recollindex-user.service
-systemctl --user enable --now recollindex-user.service
-

The indexer will start when the user logs in and run - while there is a session open for them.

-

recollindex-system.service would be - used for starting the indexer at boot time, running as a - specific user. It can be useful when running the text - search as a shared service (e.g. when users access it - through the WEB UI). You will need to edit it to replace - the @SOMEUSER@ value with something which makes sense in - your case, then install it as a regular systemd system service. Of course, - if you want to run several such units, you will also need - to rename the installed file.

+ "programlisting">systemctl --user daemon-reload +systemctl --user enable --now recollindex.service +

The system unit file can be enabled for a particular + user by running, as root:

+
systemctl daemon-reload
+systemctl enable --now recollindex@username.service
+

(A valid user name should be substituted for + username, of course.)

@@ -4054,7 +4064,7 @@ fs.inotify.max_user_watches=32768 given context (e.g. within a preview window, within the result table).

- +

Table 3.1. Keyboard shortcuts

@@ -8382,6 +8392,23 @@ hasextract = False PHP extensions, but might yield very marginally faster code.

+
  • +

    --without-systemd + Disable the automatic installation of systemd unit + files. Normally unit files are installed if the + install path can be detected.

    +
  • +
  • +

    --with-system-unit-dir=DIR Provide + an install path for the systemd system unit + template file.

    +
  • +
  • +

    --with-user-unit-dir=DIR Provide an + install path for the systemd user unit file.

    +
  • Of course the usual autoconf