[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: moving lutil_detach() in slapd?

Howard Chu writes:
> This statement makes no sense to me. If slapd was running in daemon mode,
> then it is already detached. When you receive a SIGHUP and do your restart,
> it is still already detached.

The restarting process is created before slapd detaches (just after
slapd_daemon_init()).  Then it sits and waits for slapd to die, and
starts running iff slapd received a SIGHUP.