fix monit cfg
fix generate database.yml