diff --git a/fabfile.py b/fabfile.py index 53d0819..c12f56b 100644 --- a/fabfile.py +++ b/fabfile.py @@ -70,7 +70,7 @@ def start(): require('path') with cd('%(path)s/dreddit-auth/' % env): - run('./start.sh') + run('screen -d -m "./start.sh"') def stop(): require('hosts') @@ -80,7 +80,7 @@ def stop(): run('kill `cat auth.pid`') run('rm -f auth.pid') -def restart() +def restart(): stop() start() diff --git a/requirements.txt b/requirements.txt index 298fa7a..089bee5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,5 @@ yolk==0.4.1 -e hg+http://bitbucket.org/schinckel/django-jsonfield#egg=django-jsonfield xmlrpclib==1.0.1 South==0.7.1 +fabric==0.9.1 +flup