summaryrefslogtreecommitdiff
path: root/man/systemctl.xml
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-05 13:54:33 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-15 20:49:14 +0100
commitc9615f73521986b3607b852c139036d58973043c (patch)
tree22ccd6bf8b08445844dfc4ac391ef0f4db74757b /man/systemctl.xml
parentdeaf4b863bfab0ce1fb396fb273f716359bb0517 (diff)
downloadsystemd-c9615f73521986b3607b852c139036d58973043c.tar.gz
systemctl: add "reload-or-restart --marked"
This is almost equivalent to 'busctl call-method org.freedesktop.systemd1 /org/freedesktop/systemd1 org.freedesktop.systemd1.Manager EnqueueMarkedJobs', but waits for the jobs to finish.
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r--man/systemctl.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index db4e2b2c65..642a5ecf2d 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -2317,6 +2317,18 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
</varlistentry>
<varlistentry>
+ <term><option>--marked</option></term>
+
+ <listitem><para>Only allowed with <command>reload-or-restart</command>. Enqueues restart jobs for all
+ units that have the <literal>needs-restart</literal> mark, and reload jobs for units that have the
+ <literal>needs-reload</literal> mark. When a unit marked for reload does not support reload, restart
+ will be queued. Those properties can be set using <command>set-property Marks</command>.</para>
+
+ <para>Unless <option>--no-block</option> is used, <command>systemctl</command> will wait for the
+ queued jobs to finish.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><option>--read-only</option></term>
<listitem><para>When used with <command>bind</command>, creates a read-only bind mount.</para></listitem>