padrino/padrino-framework — Issue #727: Graceful exit on SIGTERM
Author: veesahni
Created: 2011-11-26 15:26:29+00:00
State: open

I'm running padrino on Heroku where they send SIGTERM to processes on restart. Is there a supported way to trap the signal and have padrino exit gracefully at the end of the current request (or immediately if none) ?