mirror of
https://github.com/restic/rest-server.git
synced 2025-12-06 17:15:45 -08:00
Merge pull request #273 from ae-govau/gracefulshutdown
fix: shutdown gracefully on TERM or INT signals
This commit is contained in:
7
changelog/unreleased/pull-273
Normal file
7
changelog/unreleased/pull-273
Normal file
@@ -0,0 +1,7 @@
|
||||
Change: Server is now shutdown cleanly on TERM or INT signals
|
||||
|
||||
Server now listens for TERM and INT signals and cleanly closes down the http.Server and listener.
|
||||
|
||||
This is particularly useful when listening on a unix socket, as the server will remove the socket file from it shuts down.
|
||||
|
||||
https://github.com/restic/rest-server/pull/273
|
||||
Reference in New Issue
Block a user