summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-02-15 11:56:32 +0100
committerGitHub <noreply@github.com>2019-02-15 11:56:32 +0100
commit5c5c21835a606542f2da6b6705cf2994c8c57d2d (patch)
treeb3bb8cd966d9e034101bc09ffb5f38c8ac533c48 /man
parenta0279563d74dccdc0d75fd5068cf680219236344 (diff)
parent23bedfbc3219a4318949b1d945063d68e53d0c69 (diff)
downloadsystemd-5c5c21835a606542f2da6b6705cf2994c8c57d2d.tar.gz
systemd-5c5c21835a606542f2da6b6705cf2994c8c57d2d.tar.bz2
systemd-5c5c21835a606542f2da6b6705cf2994c8c57d2d.zip
Merge pull request #11634 from yuwata/rfe-11622
busctl: add 'emit' command
Diffstat (limited to 'man')
-rw-r--r--man/busctl.xml20
1 files changed, 19 insertions, 1 deletions
diff --git a/man/busctl.xml b/man/busctl.xml
index a5e3d92cf0..04f05294f9 100644
--- a/man/busctl.xml
+++ b/man/busctl.xml
@@ -187,7 +187,7 @@
<term><option>--auto-start=</option><replaceable>BOOL</replaceable></term>
<listitem>
- <para>When used with the <command>call</command> command, specifies
+ <para>When used with the <command>call</command> or <command>emit</command> command, specifies
whether the method call should implicitly activate the
called service, should it not be running yet but is
configured to be auto-started. Defaults to
@@ -247,6 +247,15 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><option>--destination=</option><replaceable>SERVICE</replaceable></term>
+
+ <listitem>
+ <para>Takes a service name. When used with the <command>emit</command> command, a signal is
+ emitted to the specified service.</para>
+ </listitem>
+ </varlistentry>
+
<xi:include href="user-system-options.xml" xpointer="user" />
<xi:include href="user-system-options.xml" xpointer="system" />
<xi:include href="user-system-options.xml" xpointer="host" />
@@ -342,6 +351,15 @@
</varlistentry>
<varlistentry>
+ <term><command>emit</command> <arg choice="plain"><replaceable>OBJECT</replaceable></arg> <arg choice="plain"><replaceable>INTERFACE</replaceable></arg> <arg choice="plain"><replaceable>SIGNAL</replaceable></arg> <arg choice="opt"><replaceable>SIGNATURE</replaceable> <arg choice="opt" rep="repeat"><replaceable>ARGUMENT</replaceable></arg></arg></term>
+
+ <listitem><para>Emit a signal. Takes a object path, interface name and method name. If parameters
+ shall be passed, a signature string is required, followed by the arguments, individually formatted as
+ strings. For details on the formatting used, see below. To specify the destination of the signal,
+ use the <option>--destination=</option> option.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><command>get-property</command> <arg choice="plain"><replaceable>SERVICE</replaceable></arg> <arg choice="plain"><replaceable>OBJECT</replaceable></arg> <arg choice="plain"><replaceable>INTERFACE</replaceable></arg> <arg choice="plain" rep="repeat"><replaceable>PROPERTY</replaceable></arg></term>
<listitem><para>Retrieve the current value of one or more