application_ruby: adding logrotate
disconnect from db in before_fork