]> arthur.barton.de Git - netatalk.git/commitdiff
Update neccessary environment for Tracker
authorRalph Boehme <sloowfranklin@gmail.com>
Tue, 13 Aug 2013 07:32:31 +0000 (09:32 +0200)
committerRalph Boehme <sloowfranklin@gmail.com>
Tue, 13 Aug 2013 07:32:31 +0000 (09:32 +0200)
doc/manual/configuration.xml

index 564c9e607f1ea54336bc91ff958ba7d0cd87d11d..51711ad3afba06bf7b96396844bc2d68587f9d46 100644 (file)
@@ -1572,9 +1572,17 @@ aclmode = passthrough</screen>
     <sect2>
       <title>Using Tracker commandline tools on the server</title>
 
-      <para>Netatalk must be running and the commands must be executed as
-      root:<screen>$ su
-# export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/spotlight.ipc"</screen></para>
+      <para>Netatalk must be running, commands must be executed as root and
+      some environent variables must be set up (adjust PREFIX to point to
+      the base directory Netatalk in installed to):<screen>$ su
+# cat .tracker_profile
+PREFIX="/"
+export XDG_DATA_HOME="$PREFIX/var/netatalk/"
+export XDG_CACHE_HOME="$PREFIX/var/netatalk/"
+export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/spotlight.ipc"
+# . .tracker_profile
+#
+</screen></para>
 
       <para>When using Tracker from OpenCSW you must also update your
       PATH:<screen># export PATH=/opt/csw/bin:$PATH</screen></para>
@@ -1636,12 +1644,9 @@ aclmode = passthrough</screen>
 
       <para>Gnome dconf settings are per-user settings, so, as Netatalk runs
       the Tracker processes as root, the settings are stored in the root user
-      context and reading or changing these settings must be perfomed as root.
-      Netatalk must alo be running:<screen>$ su
-# export DBUS_SESSION_BUS_ADDRESS="unix:path=/tmp/spotlight.ipc"</screen></para>
-
-      <para>When using Tracker from OpenCSW you must also update your
-      PATH:<screen># export PATH=/opt/csw/bin:$PATH</screen></para>
+      context and reading or changing these settings must be perfomed as root
+      and Netatalk must be running (and again the enviroment must be set up
+      as shown above).</para>
 
       <para><screen># gsettings list-recursively | grep Tracker
 org.freedesktop.Tracker.Writeback verbosity 'debug'