modified upstart script so it runs after db service is up