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

Michael Biebl mbiebl at gmail.com
Mon Aug 6 02:38:06 PDT 2012


2012/8/6 Colin Guthrie <gmane at colin.guthr.ie>:
> 'Twas brillig, and Lennart Poettering at 03/08/12 19:46 did gyre and gimble:
>> Maybe DontRestartExitStatus=? The libc calls the generalization of
>> exit code and exit signal the "exit status", so that sounds like the
>> best term to use here.
>
> Would InhibitRestartExitStatus= work for you? Something feels wrong with
> Dont* (partly because "don't" is a contraction of "do not" and
> DoNotRestartExitStatus just feels wrong too).
>
> Not sure if "Inhibit*" is maybe used somewhere already that would make
> this less desirable tho'.

fwiw, upstart calls that configuration option "normal exit" [1]

Michael

[1] http://upstart.ubuntu.com/cookbook/#normal-exit



-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?


More information about the systemd-devel mailing list