summaryrefslogtreecommitdiff
path: root/man/systemd.service.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-07-03 15:36:33 +0200
committerLennart Poettering <lennart@poettering.net>2014-07-03 15:37:46 +0200
commitab016c45a96bad3fe799ce5d680dbecf3878470b (patch)
treeb664e51ca1cf362b502826c892598969937bbd3f /man/systemd.service.xml
parentfd3b401e5d3d377f134e77bb3969088130f9f37c (diff)
man: reference RestartForceExitStatus= from the Restart= description
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r--man/systemd.service.xml15
1 files changed, 10 insertions, 5 deletions
diff --git a/man/systemd.service.xml b/man/systemd.service.xml
index 7f7d49e5f0..0131250260 100644
--- a/man/systemd.service.xml
+++ b/man/systemd.service.xml
@@ -825,10 +825,15 @@ ExecStart=/bin/echo $ONE $TWO ${TWO}</programlisting>
</tgroup>
</table>
- <para>In addition to the above settings,
- the service will not be restarted if the
- exit code or signal is specified in
+ <para>As exceptions to the setting
+ above the service will not be
+ restarted if the exit code or signal
+ is specified in
<varname>RestartPreventExitStatus=</varname>
+ (see below). Also, the services will
+ always be restarted if the exit code
+ or signal is specified in
+ <varname>RestartForceExitStatus=</varname>
(see below).</para>
<para>Setting this to
@@ -838,8 +843,8 @@ ExecStart=/bin/echo $ONE $TWO ${TWO}</programlisting>
reliability by attempting automatic
recovery from errors. For services
that shall be able to terminate on
- their own choice (and avoiding
- immediate restart),
+ their own choice (and avoid
+ immediate restarting),
<option>on-abnormal</option> is an
alternative choice.</para>
</listitem>