Added endscript on logrotate