tdon't exit on SIGHUP - geomyidae - A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
 (HTM) git clone git://r-36.net/geomyidae
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 8d9bad389a4ac22fc292f92d0128af8679e640fa
 (DIR) parent c89bef327e78a4c0400b3665d249d36af6a3160b
 (HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
       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 <20h@r-36.net>
       
       Diffstat:
         main.c                              |       1 -
       
       1 file changed, 0 insertions(+), 1 deletion(-)
       ---
 (DIR) diff --git a/main.c b/main.c
       t@@ -256,7 +256,6 @@ sighandler(int sig)
                case SIGCHLD:
                        while (waitpid(-1, NULL, WNOHANG) > 0);
                        break;
       -        case SIGHUP:
                case SIGINT:
                case SIGQUIT:
                case SIGABRT: