diff --git a/apache/files/www-logrotate.sh b/apache/files/www-logrotate.sh index 9191ae4..4490eff 100755 --- a/apache/files/www-logrotate.sh +++ b/apache/files/www-logrotate.sh @@ -39,12 +39,16 @@ fi if [ -r /var/run/httpd.pid ]; then HTTPDPID=`cat /var/run/httpd.pid` +elif [ -r /var/run/httpd/httpd.pid ]; then + HTTPDPID=`cat /var/run/httpd/httpd.pid` elif [ -r /var/run/apache2.pid ]; then HTTPDPID=`cat /var/run/apache2.pid` fi if [ -r /var/run/httpsd.pid ]; then HTTPSDPID=`cat /var/run/httpsd.pid` +elif [ -r /var/run/httpd/httpsd.pid ]; then + HTTPSDPID=`cat /var/run/httpd/httpsd.pid` fi signalapache() {