cpanel apache graceful restart every two hours

cp -rp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_backup
vi /var/cpanel/cpanel.config
enable_piped_logs=1

/usr/local/cpanel/whostmgr/bin/whostmgr2 –updatetweaksettings
/scripts/rebuildhttpdconf
/etc/init.d/httpd restart

Leave a Reply

Your email address will not be published. Required fields are marked *