> Instead of using that kill line in postrotate (which, based > upon a perusal of the apache2 and apache2ctl manpages, appears > to be deprecated), invoke /etc/init.d/apache2 restart. > > Editing /etc/conf.d/apache2 may do nothing if you're working > directly under the covers as you are above. > > Incidentally, I believe the problem may be that you're doing a > graceful restart, which does not necessarily close the log files > immediately (and, if the system is busy, probably does not.)
I've tried both of those methods and it didn't work. I'm going to test out the copytruncate logrotate option which I'll know by tomorrow. > So, um, this prerotate thing you do - you're copying the log > file before it is static? You realize that you may not get the > full log file that way, right? No I didn't. What do you suggest? Chris -- [email protected] mailing list
