I believe it is possible to catch the shutdown event, cancel it, and send a 
new one when the service is done cleaning up.  Not pretty, but nothing ever is 
when there's a hardwired timeout involved.

On Monday 20 June 2011, Matt Jibson wrote:
> I'm using the win32 extensions to install and run a service that can take
> 10-15 seconds to gracefully shutdown. It successfully receives the shutdown
> signal, but Windows Server 2008 kills the process before it can shutdown
> normally. Works fine on Windows Server 2003. I'm aware this is possibly a
> Windows issue. Anyone seen this or have ideas?
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to