diff --git a/conf.c b/conf.c index 66831c5b..e8f66476 100644 --- a/conf.c +++ b/conf.c @@ -125,7 +125,8 @@ void conf_parse_cond(svc_t *svc, char *cond) } /* By default we assume UNIX daemons support SIGHUP */ - svc->sighup = 1; + if (svc_is_daemon(svc)) + svc->sighup = 1; if (!cond) return;