From 92fb508c4463a5c5cbbe052fc636b135a0d80bd4 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 13d10479..ef888c07 100644 --- a/src/ckpool.c +++ b/src/ckpool.c @@ -814,6 +814,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);