]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: document systemctl list-paths
authorDavid Tardon <dtardon@redhat.com>
Mon, 20 Feb 2023 18:17:14 +0000 (19:17 +0100)
committerDavid Tardon <dtardon@redhat.com>
Tue, 21 Feb 2023 18:03:26 +0000 (19:03 +0100)
man/systemctl.xml

index 04b2e9813d90c2e4ba3788efd1a6790ffb53ef9c..5ec268df8777d8e843796c25db792eee413509d1 100644 (file)
@@ -127,6 +127,26 @@ binfmt_misc /proc/sys/fs/binfmt_misc yes     0            proc-sys-fs-binfmt_mis
           </listitem>
         </varlistentry>
 
+        <varlistentry>
+          <term><command>list-paths</command> <optional><replaceable>PATTERN</replaceable>…</optional></term>
+
+          <listitem>
+            <para>List path units currently in memory, ordered by path.  If one or more
+            <replaceable>PATTERN</replaceable>s are specified, only path units matching one of them are shown.
+            Produces output similar to
+            <programlisting>
+PATH                           CONDITION         UNIT                               ACTIVATES
+/run/systemd/ask-password      DirectoryNotEmpty systemd-ask-password-plymouth.path systemd-ask-password-plymouth.service
+/run/systemd/ask-password      DirectoryNotEmpty systemd-ask-password-wall.path     systemd-ask-password-wall.service
+/var/cache/cups/org.cups.cupsd PathExists        cups.path                          cups.service
+
+3 paths listed.</programlisting>
+            </para>
+
+            <para>Also see <option>--show-types</option>, <option>--all</option>, and <option>--state=</option>.</para>
+          </listitem>
+        </varlistentry>
+
         <varlistentry>
           <term><command>list-sockets</command> <optional><replaceable>PATTERN</replaceable>…</optional></term>