centos use /var/run/httpd/httpd.pid as pid file, if recipe change pidfile to something else service will not able to deal with previously started apache