mirror of
https://github.com/restic/rest-server.git
synced 2025-12-07 09:36:13 -08:00
The rest server is normally shutdown via a SIGINT signal. The http handle calls are endless loops and don't return in the normal case. Thus add a signal handler to shutdown the profiler.