On Thu, Feb 03, 2011 at 09:35:55PM +0100, Michael Biebl wrote: > 2011/2/3 Cristian Patrascu <[email protected]>: > > So, for these last two features I created a patch, which adds two more > > options for a .service : > > - RestartRetries=n (where n is the number of restart retries) > > - ExecPostRestarts=/some/cmd (where the command "/some/cmd" will be executed > > after restart retries are finished). > > I think the name of this option is not very descriptive and imho it > could be useful in a more general way. What do you think about using > > ExecStartOnFailure=/some/cmd (send an email or what not)
Isn't “OnFailure=send-email-to-admin.service” sufficent? -- Tomasz Torcz "God, root, what's the difference?" xmpp: [email protected] "God is more forgiving." _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
