On Mon, Aug 6, 2012 at 2:14 AM, Colin Guthrie <gm...@colin.guthr.ie> wrote: > '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'.
We have: Restart=on-success | on-failure | ... Does this setting really binds to the "Restart" logic only? How about: ExitStatusFailure= ExitStatusSuccess= which matches the on-* values in Restart=, but also the C constants for exit(), and we could possibly re-use these lists in other conditions? Kay _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel