mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-16 02:02:13 -05:00
Merge pull request #2645 from alphagov/trap-term
Catch the TERM signal in the run_app_*paas scripts
This commit is contained in:
@@ -81,7 +81,7 @@ echo "Run script pid: $$"
|
|||||||
|
|
||||||
check_params
|
check_params
|
||||||
|
|
||||||
trap "on_exit" EXIT
|
trap "on_exit" EXIT TERM
|
||||||
|
|
||||||
configure_aws_logs
|
configure_aws_logs
|
||||||
|
|
||||||
|
|||||||
@@ -143,7 +143,7 @@ echo "Run script pid: $$"
|
|||||||
|
|
||||||
check_params
|
check_params
|
||||||
|
|
||||||
trap "on_exit" EXIT
|
trap "on_exit" EXIT TERM
|
||||||
|
|
||||||
configure_aws_logs
|
configure_aws_logs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user