Fix start ordering issue

only -api creates the database, so start it first.