Edit file File name : nscd_logs Content :/var/log/nscd.log { rotate 15 size=300M missingok compress postrotate /usr/local/cpanel/scripts/restartsrv_nscd >/dev/null 2>&1 || true endscript } Save