Introduction
Introduction Statistics Contact Development Disclaimer Help
don't exit on SIGHUP - geomyidae - A small C-based gopherd.
git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri…
Log
Files
Refs
Tags
README
LICENSE
---
commit 8d9bad389a4ac22fc292f92d0128af8679e640fa
parent c89bef327e78a4c0400b3665d249d36af6a3160b
Author: Hiltjo Posthuma <[email protected]>
Date: Wed, 29 Aug 2018 20:03:49 +0200
don't exit on SIGHUP
SIGHUP is normally often used in daemons to reload the config and/or reopen log
files.
This was noticed on OpenBSD not starting the geomyidae server on boot. The
init implementations on OpenBSD, NetBSD and possibly others send SIGHUP to
processes in a boot transition period.
Signed-off-by: Christoph Lohmann <[email protected]>
Diffstat:
M main.c | 1 -
1 file changed, 0 insertions(+), 1 deletion(-)
---
diff --git a/main.c b/main.c
@@ -256,7 +256,6 @@ sighandler(int sig)
case SIGCHLD:
while (waitpid(-1, NULL, WNOHANG) > 0);
break;
- case SIGHUP:
case SIGINT:
case SIGQUIT:
case SIGABRT:
You are viewing proxied material from bitreich.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.