spec: document the search path for session services

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35306
This commit is contained in:
Simon McVittie 2011-04-12 16:30:24 +01:00
parent 5a548fbf64
commit ae3faad91d

View file

@ -4500,9 +4500,16 @@
<sect4>
<title></title>
<para>
[FIXME specify location of .service files, probably using
DESKTOP_DIRS etc. from basedir specification, though login session
bus is not really desktop-specific]
On Unix systems, the session bus should search for .service files
in <literal>$XDG_DATA_DIRS/dbus-1/services</literal> as defined
by the
<ulink url="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html">XDG Base Directory Specification</ulink>.
Implementations may also search additional locations, which
should be searched with lower priority than anything in
XDG_DATA_HOME, XDG_DATA_DIRS or their respective defaults;
for example, the reference implementation also
looks in <literal>${datadir}/dbus-1/services</literal> as
set at compile time.
</para>
</sect4>
</sect3>