From 542cf4ca2bf4dd3f62d992ae6a8ae791e116cb6a Mon Sep 17 00:00:00 2001 From: bobcall Date: Mon, 1 Jul 2013 01:44:04 -0400 Subject: [PATCH] Fixed syntax error and missing '--daemon' --- fabfile.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fabfile.py b/fabfile.py index dee8d60..0a8219d 100644 --- a/fabfile.py +++ b/fabfile.py @@ -97,8 +97,7 @@ def start_gunicorn(): """ Starts the gunicorn process """ - env.run('%s/manage.py run_gunicorn -b %s -u %s -p var/run/gunicorn.pid' % (env.proj_root, env.gunicorn_addr, env.user) - + env.run('%s/manage.py run_gunicorn -b %s -p %s/var/run/gunicorn.pid --daemon' % (env.proj_dir, env.gunicorn_addr, env.proj_dir)) ####### Update Requirements @task def update_reqs(): -- 2.25.1