Need to do `app stop` && `app start` after creating/destroying service, so ENV variables can update

Issue #122 resolved
LiAh Sheep created an issue

Steps to reproduce:

  1. Create an app
  2. Pull from git@bitbucket.org:liahsheep/sample-php.git
  3. Go to http://_____.app.cnpaas.localhost/env.php, note the result
  4. Create a service
  5. Reload http://_____.app.cnpaas.localhost/env.php, note MYSQL_ variables are NOT added
  6. Stop and start app
  7. Reload http://_____.app.cnpaas.localhost/env.php, note MYSQL_ variables are finally added

Comments (3)

  1. Log in to comment