ghazel-daemons 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/daemons/controller.rb +4 -1
- metadata +1 -1
data/lib/daemons/controller.rb
CHANGED
@@ -77,6 +77,9 @@ module Daemons
|
|
77
77
|
@group.stop_all
|
78
78
|
sleep 1
|
79
79
|
@group.start_all
|
80
|
+
else
|
81
|
+
puts "Warning: no instances running. Starting..."
|
82
|
+
@group.new_application.start
|
80
83
|
end
|
81
84
|
when 'zap'
|
82
85
|
@group.zap_all
|
@@ -131,4 +134,4 @@ module Daemons
|
|
131
134
|
end
|
132
135
|
end
|
133
136
|
|
134
|
-
end
|
137
|
+
end
|