mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 22:32:15 +00:00
Further fabric work and updated requirements
This commit is contained in:
4
fabfile.py
vendored
4
fabfile.py
vendored
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user