man/sd-run: /bin/bash -> bash in -t example
authorнаб <nabijaczleweli@nabijaczleweli.xyz>
Sun, 12 Dec 2021 19:30:26 +0000 (20:30 +0100)
committerнаб <nabijaczleweli@nabijaczleweli.xyz>
Sun, 12 Dec 2021 20:13:51 +0000 (21:13 +0100)
sd-run already does PATH lookup via find_executable_full()

man/systemd-run.xml

index 99726dabfbbc73c0071d5267cc029beb43545b45..66ac26c5f871fecb32aef5e3dbe5986d35f69bfe 100644 (file)
@@ -479,10 +479,10 @@ Dec 08 20:44:48 container systemd[1]: Started /bin/touch /tmp/foo.</programlisti
     <example>
       <title>Allowing access to the tty</title>
 
-      <para>The following command invokes <filename>/bin/bash</filename> as a service
-      passing its standard input, output and error to the calling TTY.</para>
+      <para>The following command invokes <citerefentry><refentrytitle>bash</refentrytitle><manvolnum>1</manvolnum></citerefentry>
+      as a service passing its standard input, output and error to the calling TTY.</para>
 
-      <programlisting># systemd-run -t --send-sighup /bin/bash</programlisting>
+      <programlisting># systemd-run -t --send-sighup bash</programlisting>
     </example>
 
     <example>