From 5071a7fd06779a017c4d4392bce0c6b087999acc Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Fri, 28 Nov 2014 12:06:59 +1100 Subject: [PATCH] Handle SIGUSR1 in the child sighandler --- src/ckpool.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ckpool.c b/src/ckpool.c index abff3050..54ef0f8e 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -782,6 +782,7 @@ static void launch_process(proc_instance_t *pi) handler.sa_handler = &childsighandler; handler.sa_flags = 0; sigemptyset(&handler.sa_mask); + sigaction(SIGUSR1, &handler, NULL); sigaction(SIGTERM, &handler, NULL); signal(SIGINT, SIG_IGN); signal(SIGQUIT, SIG_IGN);