Main Content

disable-control-c

Disable keyboard interruptions for server instance

Syntax

--disable-control-c

Description

disable-control-c disables keyboard interruption for the server instance. The server instance does not respond to Ctrl+C.

If you set both disable-control-c and enable-graceful-shutdown properties, then the server ignores the terminal interrupt event Ctrl+C. The server gracefully shuts down only on receiving the program termination signal or when the system shuts down or restarts.

Examples

Disable the Ctrl+C keys.

--disable-control-c