Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
when stop container, first send SIGTERM to the process.
after a while, send SIGKILL if the process is still alive.
above process is always the same for any application.
but, to graceful-stop, sometimes it need to send another signal instead of SIGTERM.
for instance, if apache httpd on slider is running, SIGWINCH should be came to stop gracefully.
the way to stop gracefully is depend on application.
it will be good if we can define a signal to terminate per application.