diff --git a/app/app.sh b/app/app.sh index 37a5fd6..3c266a6 100755 --- a/app/app.sh +++ b/app/app.sh @@ -16,7 +16,7 @@ TERM_handler() { if [ ${PID} -ne 0 ]; then ps -ef --forest CHILDS=$(pgrep -P "${PID}") - kill -SIGTERM -"${PID}" + kill -SIGHUP $CHILDS for i in $CHILDS; do wait $i done