wrapper.forced_shutdown.delay

Compatibilidad :3.5.37
Ediciones :Edición ProfesionaEdición EstándarEdición de la Comunidad
Plataformas :WindowsMac OSXLinuxIBM AIXFreeBSDHP-UXSolarisIBM 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.

NOTA

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

Referencia: Apagados

El Java Service Wrapper proporciona un conjunto completo de propiedades de configuración que le permiten hacer que el Wrapper se adapte exactamente a sus necesidades. Por favor, lea la documentación de las propiedades individuales para ver todas las posibilidades además de los ejemplos mostrados anteriormente.