]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
spec: briefly describe Name, Exec and User keys
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Mon, 16 Sep 2013 13:36:21 +0000 (14:36 +0100)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 8 Oct 2013 10:06:19 +0000 (11:06 +0100)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=66608
Reviewed-by: Chengwei Yang <chengwei.yang@intel.com>
doc/dbus-specification.xml

index e6e75fde98dd592b14705e7f96f0df4e650ad7b5..51d6cb6fb169ed98a3ab4e6d5571a520d49423ff 100644 (file)
           <listitem><para>Comment format</para></listitem>
         </itemizedlist>
 
+        Service description files must contain a
+        <literal>D-BUS Service</literal> group with at least the keys
+        <literal>Name</literal> (the well-known name of the service)
+        and <literal>Exec</literal> (the command to be executed).
+
         <figure>
          <title>Example service description file</title>
          <programlisting>
           </programlisting>
        </figure>
       </para>
+
+      <para>
+        Additionally, service description files for the well-known system
+        bus on Unix must contain a <literal>User</literal> key, whose value
+        is the name of a user account (e.g. <literal>root</literal>).
+        The system service will be run as that user.
+      </para>
+
       <para>
         When an application asks to start a service by name, the bus daemon tries to
         find a service that will own that name. It then tries to spawn the