reacting to respawn giving up?
Janne Karhunen
janne.karhunen at gmail.com
Tue Dec 1 19:46:16 GMT 2009
On Tue, Dec 1, 2009 at 8:14 PM, Scott James Remnant <scott at netsplit.com> wrote:
> This means that you could just do (as a file in /etc/init):
>
> start on stopped $JOB RESULT=failed PROCESS=respawn
> exec /sbin/reboot
Duh, knew it could be done with 'stopped' but it sounded
like a hack as it would have to be defined outside of the
given script. Moreover, is there a limit on how many
'start on' conditions you can have?
Anyhoo, I'll send you setuid / setgid patches next. You
have another hack in your sleeve for those :-) ?
--
// Janne
More information about the upstart-devel
mailing list