mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 09:12:06 -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
|
||||
|
||||
trap "on_exit" EXIT
|
||||
trap "on_exit" EXIT TERM
|
||||
|
||||
configure_aws_logs
|
||||
|
||||
|
||||
@@ -143,7 +143,7 @@ echo "Run script pid: $$"
|
||||
|
||||
check_params
|
||||
|
||||
trap "on_exit" EXIT
|
||||
trap "on_exit" EXIT TERM
|
||||
|
||||
configure_aws_logs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user