rolling-shutter
rolling-shutter copied to clipboard
Add shutdown endpoint to internal Keyper API
This PR adds an endpoint to the internal Keyper API that shuts down the service:
A POST <keyper-api-address>/v1/shutdown
will shut down the keyper gracefully and let the program exit with signal 0.
The Keyper API is not meant to be exposed externally.