From ae3faad91d1cc9553901f5f304ca45d168387497 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Tue, 12 Apr 2011 16:30:24 +0100 Subject: [PATCH] spec: document the search path for session services Bug: https://bugs.freedesktop.org/show_bug.cgi?id=35306 --- doc/dbus-specification.xml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index 7280cf1..87c7456 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -4500,9 +4500,16 @@ - [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 $XDG_DATA_DIRS/dbus-1/services as defined + by the + XDG Base Directory Specification. + 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 ${datadir}/dbus-1/services as + set at compile time. -- 2.7.4