How to reload logrotate configuration

Logrotate is not running as a daemon and instead of that its using the crontab. So its not required to reload the configuration after the changes if any.

We can use the following command to check the configuration and trigger the execution.

#logrotate /etc/logrotate.conf

Please note that if we need to check any particular configuration file, need to specify the same location instead of "/etc/logrotate.conf".

That's all…

Leave a Reply

Your email address will not be published. Required fields are marked *