Browse files

Fix: start when restart but no application running

  • Loading branch information...
1 parent 23117f8 commit 570309cceb00f9355055de1396d04a6e1461c3e6 @pcreux committed Mar 26, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/daemons/controller.rb
View
3 lib/daemons/controller.rb
@@ -78,7 +78,8 @@ def run
sleep 1
@group.start_all
else
- @group.start_all
+ puts "Warning: no instances running. Starting..."
+ @group.new_application.start
end
when 'zap'
@group.zap_all

0 comments on commit 570309c

Please sign in to comment.