Skip to content

Ctrl-C when running Spring Application get no shutdown hooks #1109

@z0mb1ek

Description

@z0mb1ek

There is discuss there https://discuss.gradle.org/t/how-do-i-clean-up-an-application-when-sending-an-interrupt-ctrl-c-when-using-the-application-plugin/4880/3
I have a problem: when i SIGINT my application starting with application plugin - it not gracefully shutdown it(spring in my case), there is no any shutdown hooks, it term it! What can I do to use my spring application with shutdown hooks with gradle?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions