From b41107dcaf214743b0bc6edc445a6d1882a3283c Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Mon, 19 Feb 2024 11:31:48 +0100 Subject: [PATCH] Add changelog for SIGTERM bugfix. Signed-off-by: Brian Harring --- changelog/unreleased/pull-4703 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 changelog/unreleased/pull-4703 diff --git a/changelog/unreleased/pull-4703 b/changelog/unreleased/pull-4703 new file mode 100644 index 000000000..4df3385a0 --- /dev/null +++ b/changelog/unreleased/pull-4703 @@ -0,0 +1,9 @@ +Bugfix: Shutdown cleanly when SIGTERM is received + +Prior, if restic received SIGTERM it'd just immediately terminate skipping +cleanup- resulting in potential issues like stale locks being left behind. + +This primarily effected containerized restic invocations- they use SIGTERM- +but this could be triggered via a simple `killall restic` in addition. + +https://github.com/restic/restic/pull/4703