[PATCH] innfeed does not reopen (rotated) log file
rra at stanford.edu
Mon Jan 7 18:53:56 UTC 2013
Julien ÉLIE <julien at trigofacile.com> writes:
> In innfeed/main.c, there is an openLogFile() function that does a
> freopen() of the innfeed log file.
> Couldn't we just add a call to openLogFile() in the existing sighup()
> function in main.c? This sighup() function currently reloads
> innfeed.conf and reconfigure hosts.
Ah, yes, that sounds right to me. That would indeed fix the problem, and
I don't see any drawbacks to adding it to the existing sighup handler.
That's quite a bit simpler than I was expecting!
Russ Allbery (rra at stanford.edu) <http://www.eyrie.org/~eagle/>
Please send questions to the list rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
More information about the inn-workers