summaryrefslogtreecommitdiffstats
path: root/man/busctl.xml
diff options
context:
space:
mode:
authorLuca Boccassi <bluca@debian.org>2024-08-07 21:41:20 +0200
committerLuca Boccassi <bluca@debian.org>2024-08-08 10:18:41 +0200
commit989e843e7543b21b91de4368da44692d674722a5 (patch)
treefc4919ae168d3768b6359cb395bb5ebc66588fef /man/busctl.xml
parentmeson: enable -Wunterminated-string-initialization (diff)
downloadsystemd-989e843e7543b21b91de4368da44692d674722a5.tar.xz
systemd-989e843e7543b21b91de4368da44692d674722a5.zip
busctl: add support for --timeout to monitor verb
Useful in scripts when you want to exit successfully after a certain time
Diffstat (limited to 'man/busctl.xml')
-rw-r--r--man/busctl.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/man/busctl.xml b/man/busctl.xml
index 27327ee192..0938582c8b 100644
--- a/man/busctl.xml
+++ b/man/busctl.xml
@@ -392,15 +392,15 @@
<term><option>--timeout=<replaceable>SECS</replaceable></option></term>
<listitem>
- <para>When used with the <command>call</command> command,
- specifies the maximum time to wait for method call
- completion. If no time unit is specified, assumes
- seconds. The usual other units are understood, too (ms, us,
- s, min, h, d, w, month, y). Note that this timeout does not
- apply if <option>--expect-reply=no</option> is used, as the
- tool does not wait for any reply message then. When not
- specified or when set to 0, the default of
- <literal>25s</literal> is assumed.</para>
+ <para>When used with the <command>call</command> command, specifies the maximum time to wait for
+ method call completion. When used with the <command>monitor</command> command, since version v257,
+ specifies the maximum time to wait for messages before automatically exiting. If no time unit is
+ specified, assumes seconds. The usual other units are understood, too (ms, us, s, min, h, d, w,
+ month, y). Note that this timeout does not apply if <option>--expect-reply=no</option> is used,
+ when combined with the <command>call</command> command, as the tool does not wait for any reply
+ message then. When not specified or when set to 0, the default of <literal>25s</literal> is
+ assumed for the <command>call</command> command, and it is disabled for the
+ <command>monitor</command> command.</para>
<xi:include href="version-info.xml" xpointer="v218"/>
</listitem>