[AWS] Shutdown of computer

Thomas Løcke thomas.granvej6 at gmail.com
Thu Dec 9 07:21:21 CET 2010


On Thu, Dec 9, 2010 at 4:49 AM, Thomas De Contes <d.l.tDeContes at free.fr> wrote:
> Hi :-)
>
>
> If i've right understood,
> when the computer shutdowns, there is a signal (i think it's the 9 one) sent to all processes, and then it wait them for quitting while a few seconds before kill them
>
> Well, does AWS give us a process to catch this signal, to help us to quit our server properly ?
> I think it has its place in AWS, because i don't think it is directly in Ada, so we have to use something like Florist


You could take a look at this Ada.Interrupts example I've done:
https://github.com/ThomasLocke/Catch_Signals

I'm using something like that in my own AWS project. It appears to be
working just fine.

:o)
Thomas Løcke


More information about the AWS mailing list