Further fabric work and updated requirements

This commit is contained in:
2010-07-07 13:25:17 +01:00
parent 6e122a17ab
commit 1d8c94384f
2 changed files with 4 additions and 2 deletions

4
fabfile.py vendored
View File

@@ -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()