-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4703 from ferringb/master
Catch SIGTERM, run cleanup
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters