summaryrefslogtreecommitdiff
path: root/man/systemctl.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-13 20:20:36 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-13 20:20:36 +0200
commit6f28c033ec506847b3bfa4efaf52478120c36946 (patch)
tree3300ac0aa44cb74ae1e38a298c0ed09527f7f522 /man/systemctl.xml
parent3dda9fc3a738241e42df43dbebf9e479e5ad1da8 (diff)
systemctl: introduce try-restart and reload-or-restart commands
Diffstat (limited to 'man/systemctl.xml')
-rw-r--r--man/systemctl.xml34
1 files changed, 27 insertions, 7 deletions
diff --git a/man/systemctl.xml b/man/systemctl.xml
index 22d3f6ee5e..d73e974e3e 100644
--- a/man/systemctl.xml
+++ b/man/systemctl.xml
@@ -194,13 +194,6 @@
line.</para></listitem>
</varlistentry>
<varlistentry>
- <term><command>restart [NAME...]</command></term>
-
- <listitem><para>Restart one or more
- units specified on the command
- line.</para></listitem>
- </varlistentry>
- <varlistentry>
<term><command>reload [NAME...]</command></term>
<listitem><para>Asks all services
@@ -227,6 +220,33 @@
</varlistentry>
<varlistentry>
+ <term><command>restart [NAME...]</command></term>
+
+ <listitem><para>Restart one or more
+ units specified on the command
+ line. If the units are not running yet
+ they will be
+ started.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><command>try-restart [NAME...]</command></term>
+
+ <listitem><para>Restart one or more
+ units specified on the command
+ line. If the units are not running yet
+ the operation will
+ fail.</para></listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><command>reload-or-restart [NAME...]</command></term>
+ <term><command>reload-or-try-restart [NAME...]</command></term>
+
+ <listitem><para>Reload one or more
+ units if they support it. If not
+ restart them
+ instead.</para></listitem>
+ </varlistentry>
+ <varlistentry>
<term><command>isolate [NAME]</command></term>
<listitem><para>Start the unit