From 3315541604960da48bcf617b3e540d7cb543d3a9 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Sun, 12 Jul 2026 22:46:23 +0200 Subject: [PATCH] app.sh: forward SIGHUP to child instead of SIGTERM to process group dogecoin-qt was being killed abruptly on container stop. Send SIGHUP directly to the child process for a graceful shutdown instead of SIGTERM'ing the whole process group. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01EzpyzTGGvRC1FdaJkEHYyP --- app/app.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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