knotx icon indicating copy to clipboard operation
knotx copied to clipboard

Safe shutdown

Open karoldrazek opened this issue 9 years ago • 1 comments

Please kindly implement way to handle 'safe shutdown' of knotx process.

By 'safe shutdown' I understand waiting until all requests are served or timed out and only after that shutting down process.

karoldrazek avatar Feb 20 '17 06:02 karoldrazek

There is a way to gracefully shutdown JVM process that waits for verticles to stop without the need to kill the knot.x process. See the conversation in here: https://github.com/Knotx/knotx-cookbook/pull/15 for templates/default/etc/systemd/system/knotx.service.erb file.

Is it acceptable ?

marcinczeczko avatar Jun 05 '18 10:06 marcinczeczko