valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0033-man-explain-NAME-in-systemctl-man-page.patch

a4b143
From 29acf51b6a3ea9305752c9c4dacf1289a1edacb5 Mon Sep 17 00:00:00 2001
a4b143
From: =?UTF-8?q?V=C3=A1clav=20Pavl=C3=ADn?= <vpavlin@redhat.com>
a4b143
Date: Thu, 31 Oct 2013 14:36:41 +0100
a4b143
Subject: [PATCH] man: explain NAME in systemctl man page
a4b143
a4b143
---
a4b143
 man/systemctl.xml | 13 +++++++++++++
a4b143
 1 file changed, 13 insertions(+)
a4b143
a4b143
diff --git a/man/systemctl.xml b/man/systemctl.xml
a4b143
index b043581..51c34b7 100644
a4b143
--- a/man/systemctl.xml
a4b143
+++ b/man/systemctl.xml
a4b143
@@ -63,6 +63,19 @@ along with systemd; If not, see <http://www.gnu.org/licenses/>.
a4b143
     introspect and control the state of the
a4b143
     <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>
a4b143
     system and service manager.</para>
a4b143
+
a4b143
+    <para>For Unit Commands the <replaceable>NAME</replaceable> represents full name of unit.
a4b143
+    <programlisting>
a4b143
+systemctl start foo.service
a4b143
+    </programlisting>
a4b143
+    For Unit File Commands the <replaceable>NAME</replaceable> represents full name of the unit file, or absolute path to the unit file.
a4b143
+    <programlisting>
a4b143
+systemctl start /path/to/foo.service
a4b143
+    </programlisting>
a4b143
+    While working with services/service files, <command>systemctl</command> is able to append .service suffix when it is missing.
a4b143
+    <programlisting>
a4b143
+systemctl start foo
a4b143
+    </programlisting></para>
a4b143
   </refsect1>
a4b143
 
a4b143
   <refsect1>