summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fabfile/__init__.py3
-rw-r--r--fabfile/helpers.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/fabfile/__init__.py b/fabfile/__init__.py
index 332068c..d6733aa 100644
--- a/fabfile/__init__.py
+++ b/fabfile/__init__.py
@@ -27,6 +27,7 @@ def deploy():
helpers.update_project()
helpers.link_settings()
helpers.collect_static()
+ helpers.manage('supervisor stop gunicorn')
helpers.syncdb()
helpers.migrate()
- # TODO restart application server
+ helpers.manage('supervisor start gunicorn')
diff --git a/fabfile/helpers.py b/fabfile/helpers.py
index c31461b..9409ca0 100644
--- a/fabfile/helpers.py
+++ b/fabfile/helpers.py
@@ -70,7 +70,7 @@ def migrate(app_name=None):
@task(alias='id')
-def indetify():
+def identify():
"""Identifes the deployed project.
Displays the deployed project version, all Python packages installed inside