chiark / gitweb /
man: reference RestartForceExitStatus= from the Restart= description
authorLennart Poettering <lennart@poettering.net>
Thu, 3 Jul 2014 13:36:33 +0000 (15:36 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 3 Jul 2014 13:37:46 +0000 (15:37 +0200)
man/systemd.service.xml

index 7f7d49e5f098825b60129f47f8af9e93d8eff4fe..01312502601d57057f32d36b3b5c688a7f335fa8 100644 (file)
@@ -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>