A small C-based gopherd. (gopher://
git clone git://
Log | Files | Refs | README | LICENSE

commit 8d9bad389a4ac22fc292f92d0128af8679e640fa
parent c89bef327e78a4c0400b3665d249d36af6a3160b
Author: Hiltjo Posthuma <>
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

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 <>

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: