mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-07-16 08:54:01 -05:00
[PR #7008] [MERGED] Handle SIGTERM and SIGQUIT shutdown signals.
#12758
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/7008
Author: @0x484558
Created: 3/24/2026
Status: ✅ Merged
Merged: 4/5/2026
Merged by: @dani-garcia
Base:
main← Head:main📝 Commits (2)
c681ad8handle more shutdown signals7272affdisable Rocket's built-in signal handlers📊 Changes
1 file changed (+35 additions, -5 deletions)
View changed files
📝
src/main.rs(+35 -5)📄 Description
By default, graceful shutdown is wired to
ctrl_c()which only handlesSIGINT. Service can also be terminated withSIGQUITandSIGTERMand without handling them, the app will not terminate gracefully.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.