add reload handler to kaproxy

Signed-off-by: Ava Hahn <a.hahn@f5.com>
This commit is contained in:
Ava Hahn 2025-08-18 04:00:32 +00:00
parent 4ee7c0cc18
commit ff1bf042e7

View file

@ -15,7 +15,13 @@ function sigint_handler() {
trap - INT
}
function sigcont_handler() {
echo "sigcont received. reloading nginx."
invoke -s reload
}
trap 'sigint_handler' INT
trap 'sigcont_handler' CONT
invoke &
wait