diff options
Diffstat (limited to 'man/systemd.service.xml')
-rw-r--r-- | man/systemd.service.xml | 15 |
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> |