server: Close logfile later on SIGHUP.
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 31 Dec 2017 19:27:57 +0000 (20:27 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sun, 11 Feb 2018 10:28:17 +0000 (11:28 +0100)
commitec05ce7931f80398c0d628d93c7892d71094d320
tree01bc0008a2e5b88c5f44cb3d09dfc5a16b8578b6
parenta35c113e0bb9fa9ac02b77eb01dd32f49cd5c8d0
server: Close logfile later on SIGHUP.

The call to daemon_open_log_or_die() will close the log file just
before it is reopened. This is better because that way any errors
which occur in between won't get lost.
server.c