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