[systemd-devel] [PATCH] service: allow service to inhibit respawn with special return code

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Tue Jul 24 16:19:32 PDT 2012


On 07/24/2012 04:43 PM, Lukas Nykryn wrote:
> In some cases, like wrong configuration, restarting after error
> exit code does not help, so administrator can specify RestartIgnoreCodes
> which will not cause restart of a service.
Hi,

maybe this should be made more general, not only limited to restarting:
wouldn't it be better to simply specify, which exit codes are supposed
to mean success? Before there was a case with java, which would exit
returning 1, even on success. It would be nice to solve that problem too.

Zbyszek


More information about the systemd-devel mailing list