> If you don't mind a second or two of down time then you can use
I have a script which does the following:
+ rotates logs
+ calls apachectl stop (twice, with sleep 2 after each call)
+ calls apachectl stop and greps the output to make sure it is stopped
(looks for 'not running')
+ if I don't find not running, pages me
+ run apachectl startssl
This is all in a wrapper script which then calls awstats
after a successful rotate and restart.
Works for us.
JohnM
--
john mendenhall
john@surfutopia.net
surf utopia
internet services