diff options
author | Markus Zapke-Grùˆndemann <markus@keimlink.de> | 2012-03-29 00:54:27 +0200 |
---|---|---|
committer | Markus Zapke-Grùˆndemann <markus@keimlink.de> | 2012-03-29 00:54:27 +0200 |
commit | 4f84488e15f92d4f0923655f6123fa4c65e5f8d0 (patch) | |
tree | e91579a6542ec11c5db2bc32142891a30220e67e /fabfile/__init__.py | |
parent | 8809d029b870162f531be217a4a28af8d438f030 (diff) |
add supervisor task/fix helpers.id task
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') |