Apache httpd is reloaded mutiple times when logrotate
Issue
Apache httpd is reloaded multiple times at one time when logrotate is invoked.
The log rotate config is :
# cat /etc/logrotate.d/httpd
/var/log/httpd/*log {
missingok
notifempty
delaycompress
postrotate
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null || true
endscript
}
Environment
- httpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
