[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

logrotate.d/apache restart method



Hello,

Apache's logrotate entry includes:

        postrotate
                /etc/init.d/apache reload > /dev/null
        endscript

would it be worthwhile to change this to:

        postrotate
                /usr/sbin/apachectl graceful > /dev/null
        endscript

Currently, if the apache config files are broken for whatever reason,
the server will stop when logrotate runs.  Granted the config files
should not be broken, but better still to let the running server run.

Open for feedback,
Lauren.



Reply to: