~ubuntu-branches/ubuntu/saucy/charm-tools/saucy

« back to all changes in this revision

Viewing changes to tests/create/no-package-exists/hooks/stop

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-07-23 13:52:08 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20120723135208-55bdkt9jj6kthm47
Tags: 0.3+151-0ubuntu1
* New upstream release.
* build-dep on python-yaml so charm proof tests can be run.
* buid-dep on python-apt and python-cheetah to enable new upstream
  tests.
* d/charm-tools.install: Install etc/* to pick up bash completion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
# This will be run when the service is being torn down, allowing you to disable
 
3
# it in various ways..
 
4
# For example, if your web app uses a text file to signal to the load balancer
 
5
# that it is live... you could remove it and sleep for a bit to allow the load
 
6
# balancer to stop sending traffic.
 
7
# rm /srv/webroot/server-live.txt && sleep 30