Set up the distributor database on start.