From 16d2f9624e49bcae378d8573017a4a1e1e1c143c Mon Sep 17 00:00:00 2001 From: Andrew Williams Date: Thu, 28 Oct 2010 10:24:51 +0100 Subject: [PATCH] Updated fabfile for deployments --- fabfile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fabfile.py b/fabfile.py index d28b385..1dbd5a0 100644 --- a/fabfile.py +++ b/fabfile.py @@ -44,9 +44,11 @@ def push(): require('hosts') require('path') + stop() update_repo() setup_virtualenv() migrate() + start() def setup_virtualenv(): @@ -115,7 +117,7 @@ def start(): require('path') with cd('%(path)s/dreddit-auth/' % env): - run('screen -d -m "./start.sh"') + run('./start.sh') def stop():