wrapper.forced_shutdown.delay

Compatibility :3.5.37
Editions :Professional EditionStandard EditionCommunity Edition
Platforms :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM z/OSIBM z/Linux

This property is only effective when wrapper.disabled_forced_shutdown it set to FALSE. It controls the minimum amount of time required between two CTRL-C or TERM signals to initiate a forced shutdown.

The unit value for this property is 100ms.

The default value is 2 (200ms) to prevent double signals from forcibly shutting down the application.

NOTE

Prior to version 3.5.37, two consecutive CTRL-C or TERM signals would forcibly shutdown the application without any minimum delay to be required. It is still possible to reproduce this behavior by setting wrapper.forced_shutdown.delay to 0.

Example: (No minimum delay between two CTRL-C or TERM signals)
wrapper.forced_shutdown.delay=0
Example: (500 ms are required between two CTRL-C or TERM signals to initiate a shutdown)
wrapper.forced_shutdown.delay=5

Reference: Shutdown

The Java Service Wrapper provides a full set of configuration properties that allows you to make the Wrapper meet your exact needs. Please take a look at the documentation for the individual properties to see all of the possibilities beyond the examples shown above.