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, tools, and much more.