geoserver-cloud
geoserver-cloud copied to clipboard
Enable actuator's shutdown endpoint
Setting management.endpoint.shutdown.enabled=true
to manually shutdown a service is not enough, a SpringBootApplication exit code generator and context listener needs to be added to the JVM would exit.
Then POST <service-address>/actuator/shutdown
would gracefully tear down the service and exit.