-
- Downloads
Support for systemd in apache::daily_restart.
The cron job created by the apache::daily_restart class used the /sbin/service command explicitly to check if httpd is already running. While at least RHEL-7/Fedora has a compatibility script that calls systemctl, it is good form to use systemctl directly when we are on a systemd-based OS. Do so. Also use systemctl status to give more information when the restart failed.
Please register or sign in to comment