Customize shutdown signal to send SIGINT to Postgres#152
Customize shutdown signal to send SIGINT to Postgres#152selzoc merged 2 commits intocloudfoundry:masterfrom
Conversation
…efault SIGTERM Co-authored-by: Joerg Weisbarth <joerg.weisbarth@sap.com>
…k + Document the process
|
This pull request was marked as |
|
Hi: We looked at this commit and noticed that the behavior of what do you think? Also, would you be open to/interested in supporting all signals that kill takes? |
|
This is now in release v1.1.14 🎉 |
Hi,
After submitting cloudfoundry/bosh#2320 as a “short path PR”, we've implemented here a new
sutdown_signalconfiguration in BPM.This new config accepts
INTorTERM(the default), so that BPM can properly trigger the Fast Shutdown Mode of Postgres. This simplifies things, and doesn't require adrainscript for the standard requirement that the executable expects aSIGINTinstead of aSIGTERM.After this is merged, we' submit a refactor PR in cloudfoundry/bosh so that it is used instead of the
drainscripts we have proposed in cloudfoundry/bosh#2320Co-authored-by: Jörg Weisbarth