https://bz.apache.org/bugzilla/show_bug.cgi?id=60632

--- Comment #3 from Jeff Turner <j...@redradishtech.com> ---
> That way the default behaviour doesn't change, those that need to fix it have 
> an option to do so and the delay can be set to an appropriate value for each 
> system.

Okay, how about:

# If started with systemd, add 'Environment=CATALINA_EXIT_DELAY=0.1' to your
service file to prevent systemd losing the last few log messages.  See
https://github.com/systemd/systemd/issues/1347
if [ -n "${CATALINA_EXIT_DELAY:-}" ]; then
        trap 'sleep ${CATALINA_EXIT_DELAY}' INT EXIT TERM
fi

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to