From ab016c45a96bad3fe799ce5d680dbecf3878470b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Thu, 3 Jul 2014 15:36:33 +0200 Subject: [PATCH] man: reference RestartForceExitStatus= from the Restart= description --- man/systemd.service.xml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 7f7d49e5f..013125026 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -825,10 +825,15 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} - In addition to the above settings, - the service will not be restarted if the - exit code or signal is specified in + As exceptions to the setting + above the service will not be + restarted if the exit code or signal + is specified in RestartPreventExitStatus= + (see below). Also, the services will + always be restarted if the exit code + or signal is specified in + RestartForceExitStatus= (see below). Setting this to @@ -838,8 +843,8 @@ ExecStart=/bin/echo $ONE $TWO ${TWO} 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), is an alternative choice. -- 2.30.2