daemon: exit monitor process for SIG{HUP,TERM,USR1}
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 1 May 2012 20:38:43 +0000 (22:38 +0200)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 1 May 2012 20:38:43 +0000 (22:38 +0200)
commitab4fa4869bf147f316b418e6c1a24807d82ed5f6
treec9700974c9097156433a857313489d61d589047a
parent66058c944888620921047997edd6d7e1e21c3cc8
daemon: exit monitor process for SIG{HUP,TERM,USR1}

It ensures that binding socket is closed in monitor process. It also
ensures that even if child process makes a failure during termination,
SIGSEGV or other, monitor process also terminates.
src/daemon.c