add logrotate script in copytruncate way