Files
rest-server/changelog/unreleased/pull-273
Adam Eijdenberg 8becd574cb fix: shutdown gracefully on TERM or INT signals
This allows server listen resources to be cleaned up appropriately.
2024-02-05 10:48:58 +11:00

8 lines
333 B
Plaintext

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