mirror of
https://github.com/systemd/systemd.git
synced 2025-01-05 13:18:06 +03:00
Merge pull request #30988 from bluca/dbus_docs
A couple of clarification for D-Bus methods
This commit is contained in:
commit
12af3f1834
@ -249,7 +249,8 @@ node /org/freedesktop/portable1 {
|
||||
<listitem><para>mkdir</para></listitem>
|
||||
</itemizedlist>
|
||||
Note that an image cannot be attached if a unit that it contains is already present
|
||||
on the system.</para>
|
||||
on the system. Note that this method returns only after all the listed operations are completed,
|
||||
and due to the I/O involved it might take some time.</para>
|
||||
|
||||
<para><function>AttachImageWithExtensions()</function> attaches a portable image to the system.
|
||||
This method is a superset of <function>AttachImage()</function> with the addition of
|
||||
@ -271,7 +272,9 @@ node /org/freedesktop/portable1 {
|
||||
<itemizedlist>
|
||||
<listitem><para>unlink</para></listitem>
|
||||
</itemizedlist>
|
||||
Note that an image cannot be detached if a unit that it contains is running.</para>
|
||||
Note that an image cannot be detached if a unit that it contains is running. Note that this method
|
||||
returns only after all the listed operations are completed, and due to the I/O involved it might take
|
||||
some time.</para>
|
||||
|
||||
<para><function>DetachImageWithExtensions()</function> detaches a portable image from the system.
|
||||
This method is a superset of <function>DetachImage()</function> with the addition of
|
||||
|
@ -1291,7 +1291,13 @@ node /org/freedesktop/systemd1 {
|
||||
and terminate all units that aren't dependencies of it. If <literal>ignore-dependencies</literal>, it
|
||||
will start a unit but ignore all its dependencies. If <literal>ignore-requirements</literal>, it will
|
||||
start a unit but only ignore the requirement dependencies. It is not recommended to make use of the
|
||||
latter two options. On completion, this method returns the newly created job object.</para>
|
||||
latter two options. On reply, if successful, this method returns the newly created job object
|
||||
which has been enqueued for asynchronous activation. Callers that want to track the outcome of the
|
||||
actual start operation need to monitor the result of this job. This can be achieved in a race-free
|
||||
manner by first subscribing to the <function>JobRemoved()</function> signal, then calling
|
||||
<function>StartUnit()</function> and using the returned job object to filter out unrelated
|
||||
<function>JobRemoved()</function> signals, until the desired one is received, which will then carry
|
||||
the result of the start operation.</para>
|
||||
|
||||
<para><function>StartUnitReplace()</function> is similar to <function>StartUnit()</function> but
|
||||
replaces a job that is queued for one unit by a job for another unit.</para>
|
||||
|
Loading…
Reference in New Issue
Block a user