mirror of
https://github.com/restic/rest-server.git
synced 2025-12-06 17:15:45 -08:00
10 lines
360 B
Plaintext
10 lines
360 B
Plaintext
Change: Shut down cleanly on TERM and INT signals
|
|
|
|
Rest-server now listens for TERM and INT signals and cleanly closes down the
|
|
http.Server and listener when receiving either of them.
|
|
|
|
This is particularly useful when listening on a unix socket, as the server
|
|
will now remove the socket file when it shuts down.
|
|
|
|
https://github.com/restic/rest-server/pull/273
|