add logrotate script and setting command.
Merge pull request #6 from nouphet/logrotation

add logrotate script and setting command.