lib/negroku/tasks/eye/unicorn.rake in negroku-2.0.0.pre7 vs lib/negroku/tasks/eye/unicorn.rake in negroku-2.0.0
- old
+ new
@@ -1,10 +1,16 @@
#########
## Adds support to monitor unicorn processes through eye
#########
# Watch the unicorn processes using the build in template
-watch_process(:unicorn);
+namespace :eye do
+ task :watch_process do
+
+ watch_process(:unicorn);
+
+ end
+end
# Override start, restart and stop unicorn tasks to so they call
# the eye equivalents
namespace :unicorn do
['start','restart','stop'].each do |cmd|