Fix error in logrotation configuration.
This commit is contained in:
		| @@ -3586,7 +3586,11 @@ if [ ! -f "/etc/logrotate.d/apache2" ]; then | ||||
|          if [[ -f "/var/log/apache2/php_errors.log" ]] ; then | ||||
|             chown ${HTTPD_USER}:${HTTPD_GROUP} /var/log/apache2/php_errors.log | ||||
|          fi | ||||
|          APACHECTL="\$(which apachectl)" | ||||
|          if [[ -x "/usr/local/apache2/bin/apachectl" ]]; then | ||||
|             APACHECTL="/usr/local/apache2/bin/apachectl" | ||||
|          else | ||||
|             APACHECTL="\$(which apachectl)" | ||||
|          fi | ||||
|          if [[ -z "\$APACHECTL" ]] ; then | ||||
|             if [[ -f "/etc/init.d/apache2" ]; then | ||||
|                /etc/init.d/apache2 reload > /dev/null | ||||
|   | ||||
		Reference in New Issue
	
	Block a user