Skip to content

Commit

Permalink
pad start_tracker command with sleep to allow it to finish starting u…
Browse files Browse the repository at this point in the history
…p before cap disconnects
  • Loading branch information
freels committed Feb 28, 2010
1 parent ccea600 commit f8a2106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/murder/admin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
end

task :start_tracker, :roles => :tracker do
run("screen -dms murder_tracker python #{remote_murder_path}/murder_tracker.py", :pty => true)
run("screen -dms murder_tracker python #{remote_murder_path}/murder_tracker.py && sleep 0.2", :pty => true)
end

task :stop_tracker, :roles => :tracker do
Expand Down

0 comments on commit f8a2106

Please sign in to comment.