From a762a8d8e10a5ae4e439ebe8bc13cc4eb152cac0 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 files changed, 10 insertions(+), 3 deletions(-) diff --git a/doc/dbus-specification.xml b/doc/dbus-specification.xml index c4fee66..a4e5cf4 100644 --- a/doc/dbus-specification.xml +++ b/doc/dbus-specification.xml @@ -4213,9 +4213,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. -- 1.7.4.1