On 09/07/10 14:15, Nirmal Guhan wrote:
> Hi,
> 
> Any help on this will be much appreciated!!
> 
> thanks,
> --Nirmal
> 
> On Thu, Jul 8, 2010 at 12:31 AM, Nirmal Guhan <[email protected]> wrote:
>> How do I configure upstart to handle SIGINT as a
>> shutdown signal ? This is needed as that is the method by which
>> vserver ... stop will
>> shutdown a plain init guest.
>>
>> --Nirmal
>>
> 

Have a look at http://upstart.ubuntu.com/wiki/Stanzas in particular the
"normal exit" section. I think what you want to do is add the following
to your script:

  normal exit 0 INT

-- 
upstart-devel mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/upstart-devel

Reply via email to