]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man/systemctl: document --job-mode=restart-dependencies
authorMike Yuan <me@yhndnzj.com>
Wed, 5 Jul 2023 00:14:27 +0000 (08:14 +0800)
committerMike Yuan <me@yhndnzj.com>
Wed, 5 Jul 2023 00:15:34 +0000 (08:15 +0800)
Follow-up for 09d04ad325473e05e23e6ba8382d7de1dd819bda

man/systemctl.xml

index 2e2daa4526cb5402db269c8d3f2eae52fcf37371..773d5cf4adcdd24b0f4342381892c53b80aa8ad7 100644 (file)
@@ -1950,8 +1950,9 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
         <literal>isolate</literal>,
         <literal>ignore-dependencies</literal>,
         <literal>ignore-requirements</literal>,
-        <literal>flush</literal>, or
-        <literal>triggering</literal>. Defaults to
+        <literal>flush</literal>,
+        <literal>triggering</literal>, or
+        <literal>restart-dependencies</literal>. Defaults to
         <literal>replace</literal>, except when the
         <command>isolate</command> command is used which implies the
         <literal>isolate</literal> job mode.</para>
@@ -1994,7 +1995,6 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
         <literal>ignore-dependencies</literal>, but only causes the
         requirement dependencies to be ignored, the ordering
         dependencies will still be honored.</para>
-        </listitem>
 
         <para><literal>triggering</literal> may only be used with
         <command>systemctl stop</command>. In this mode, the specified
@@ -2003,6 +2003,11 @@ Jan 12 10:46:45 example.com bluetoothd[8900]: gatt-time-server: Input/output err
         <varname>Triggers=</varname> in <citerefentry><refentrytitle>systemd.unit</refentrytitle><manvolnum>5</manvolnum></citerefentry>
         for more information about triggering units.</para>
 
+        <para><literal>restart-dependencies</literal> may only be used with
+        <command>systemctl start</command>. In this mode, dependencies of
+        the specified unit will receive restart propagation, as if a restart
+        job had been enqueued for the unit.</para>
+        </listitem>
       </varlistentry>
 
       <varlistentry>