in the rotation configuration for the virtual site it restarts apache like this
service httpd graceful which when passed to systemctl results in an error. It looks like systemd is still restarting apache, but this sends out a error message in cron.
Passing arguments to httpd using apachectl is no longer supported.
You can only start/stop/restart httpd using this script.
If you want to pass extra arguments to httpd, edit the
/etc/sysconfig/httpd config file.
The rotate configuration for the core httpd logs uses this to restart apache
/bin/systemctl reload httpd.service > /dev/null 2>/dev/null