Gracefully Terminating a Linux Process (and What It Means for a Spring Boot App)
The article explains how to achieve a graceful termination of a Linux process by sending SIGTERM (kill -15), how the signal translates into a thread interrupt that causes sleep to throw an exception, and why the end‑flag still prints in a simple Spring Boot‑style example.
