summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorVáclav Pavlín <vpavlin@redhat.com>2013-10-31 14:36:41 +0100
committerLukas Nykryn <lnykryn@redhat.com>2013-10-31 14:38:14 +0100
commitc9197a76ae552991b99673d104019e0940d6ad84 (patch)
tree2db3feac3890191c6dffbdca44031669c95df825 /man
parentebd495b0a190f51dc5ed90f58134054fadfbff1d (diff)
man: explain NAME in systemctl man page
Diffstat (limited to 'man')
-rw-r--r--man/systemctl.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index be6b5ea1fb..605b7869b2 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>