Skip to content

Comments

Handle SIGTERM with graceful shutdown like SIGINT#50

Open
rubinlinux wants to merge 2 commits intomasterfrom
handle-sigterm-gracefully
Open

Handle SIGTERM with graceful shutdown like SIGINT#50
rubinlinux wants to merge 2 commits intomasterfrom
handle-sigterm-gracefully

Conversation

@rubinlinux
Copy link
Member

SIGTERM now triggers the same sigaction_exit handler as SIGINT, allowing clean shutdown when receiving kill or docker stop.

This help with running inside Docker, where sigint is sent, and it was just killing without saving the db

SIGTERM now triggers the same sigaction_exit handler as SIGINT,
allowing clean shutdown when receiving kill or docker stop.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant