Need app-specific shutdown delay to allow saving state
Scott James Remnant
scott at canonical.com
Wed Feb 25 13:12:38 GMT 2009
On Thu, 2009-02-19 at 15:27 -0800, Jim Avera wrote:
> Hi, Does anyone know if work is being done to allow applications to
> control how much time they get to gracefully exit during system
> shut-down? Currently it is 10 seconds, hard-coded
> in /etc/init.d/{sendsigs,killprocs} . This is the max time between
> kill -15 and kill -9. If so, please point me to the appropriate
> place.
>
This only applies to processes left running.
The simplest way to control an app's own shutdown is for that
application to install its own init script with a K* name.
Scott
--
Scott James Remnant
scott at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20090225/7c1d735e/attachment.pgp
More information about the ubuntu-devel
mailing list