add postrotate option and sharedscripts option
check if nil not empty
allow you to specify options as well
Merge pull request #1 from akatz/master

add postrotate option along with sharedscripts