diff options
Diffstat (limited to 'fabfile/__init__.py')
-rw-r--r-- | fabfile/__init__.py | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/fabfile/__init__.py b/fabfile/__init__.py index 3cb9bb0..f1d74d7 100644 --- a/fabfile/__init__.py +++ b/fabfile/__init__.py @@ -5,8 +5,8 @@ Always prefix a task with the appropriate setup. Examples: $ fab setups.stage deploy - $ fab setups.production version - $ fab setups.prod load_fixture:fixtures/flatpages.json + $ fab setups.production helpers.id + $ fab setups.prod helpers.load_fixture:fixtures/flatpages.json """ from fabric.api import * @@ -31,3 +31,10 @@ def deploy(): helpers.syncdb() helpers.migrate() helpers.manage('supervisor start gunicorn') + + +@task +def supervisor(): + """Access to the supervisor shell. + """ + helpers.manage('supervisor shell') |