I am running WordPress sites using Marathon.
First I hit the Marathon POST API to create app, then I hit the Marathon PUT API with the environment variables (database-related).
Marathon takes some time to start the app (until that time, it is restarting because of a database error).
How can I know when the Marathon App is ready? Does Marathon have an API hook indicating when the app is successfully started?