reacting to respawn giving up?

Janne Karhunen janne.karhunen at gmail.com
Thu Nov 26 12:28:30 GMT 2009


Hi,

Finally got around to this. There's a hacky patch attached that
introduces 'reboot' stanza that will issue reboot given that we
hit respawn limit for 'reboot' marked task. While this seems
working, issuing reboot is probably not the correct way to
reboot. Scott, your comments?


-- 
// Janne

On Tue, Nov 10, 2009 at 9:34 AM, Garrett Cooper <yanegomi at gmail.com> wrote:
> On Mon, Nov 9, 2009 at 11:20 PM, Janne Karhunen
> <janne.karhunen at gmail.com> wrote:
>> Hi,
>>
>> Any ideas what would be the best way to react to respawn
>> giving up? Certain services are critical enough to warrant a
>> whole device restart once they fail. 'start on stopped
>> <service>' might work, but it can also trigger during normal
>> shutdown and that's not nice.
>>
>> If there is no other way, would you guys be willing to accept
>> a patch for new 'reboot' stanza?
>>
>>
>> --
>> // Janne
>
>    Please -- this would get rid of a crappy hack that we have with
> env and export in my group.
> Thanks,
> -Garrett
>



-- 
// Janne
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reboot-support.patch
Type: text/x-patch
Size: 3392 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/upstart-devel/attachments/20091126/5eb69b14/attachment-0001.bin 


More information about the upstart-devel mailing list