Update restic/rest-server Docker tag to v0.13.0
Loading
This MR contains the following updates:
Package | Update | Change |
---|---|---|
restic/rest-server | minor |
0.12.1 -> 0.13.0
|
v0.13.0
============================================
The following sections list the changes in rest-server 0.13.0 relevant to users. The changes are ordered by importance.
Change #267: Update dependencies and require Go 1.18 or newer
Most dependencies have been updated. Since some libraries require newer language features, support for Go 1.17 has been dropped, which means that rest-server now requires at least Go 1.18 to build.
Change #273: 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.
Enhancement #271: Print listening address after start-up
When started with --listen :0
, rest-server would print start server on :0
The message now also includes the actual address listened on, for example start server on 0.0.0.0:37333
. This is useful when starting a server with an
auto-allocated free port number (port 0).
Enhancement #272: Support listening on a unix socket
It is now possible to make rest-server listen on a unix socket by prefixing the
socket filename with unix:
and passing it to the --listen
option, for
example --listen unix:/tmp/foo
.
This is useful in combination with remote port forwarding to enable a remote server to backup locally, e.g.:
rest-server --listen unix:/tmp/foo &
ssh -R /tmp/foo:/tmp/foo user@host restic -r rest:http+unix:///tmp/foo:/repo backup
This MR has been generated by Renovate Bot.