handle ctrl-c now

This commit is contained in:
2025-05-13 17:13:40 -07:00
parent b0e982ba6f
commit 7989b82c04

2
run.sh
View File

@@ -88,7 +88,7 @@ term_handler() {
# setup handlers
# on callback, kill the last background process, which is `tail -f /dev/null` and execute the specified handler
#trap 'kill ${!}; my_handler' SIGUSR1
trap 'kill ${!}; term_handler' SIGTERM
trap 'kill ${!}; term_handler' SIGTERM SIGINT
# run application
holesail $ARGS &