From 96342de68d0d6de71a062d984dafd2a0905ed9fe Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Mon, 13 Aug 2012 13:58:01 +0200 Subject: service: add options RestartPreventExitStatus and SuccessExitStatus In some cases, like wrong configuration, restarting after error does not help, so administrator can specify statuses by RestartPreventExitStatus which will not cause restart of a service. Sometimes you have non-standart exit status, so this can be specified by SuccessfulExitStatus. --- man/systemd.service.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'man/systemd.service.xml') diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 1946d85f48..c4bd65e349 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -579,6 +579,20 @@ hit a timeout. + + RestartPreventExitStatus= + Specify exit status list, which + will prevent service from restart. Codes are + separated by whitespace (e.g. "1 6 SIGKILL"). + + + + SuccessExitStatus= + Specify exit status list, which + will be considered as successful exit. Codes are + separated by whitespace (e.g. "1 6 SIGKILL"). + + PermissionsStartOnly= Takes a boolean -- cgit v1.2.3-54-g00ecf