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