Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated servers rake task.

  • Loading branch information...
commit 3878fd33223917e71dada5355b56a5c39b63a509 1 parent 1a6a091
@abecciu abecciu authored
Showing with 2 additions and 3 deletions.
  1. +2 −3 priv/tasks/run.rake
View
5 priv/tasks/run.rake
@@ -10,16 +10,15 @@ namespace :server do
1.upto(4) do |i|
desc "start server #{i}"
task "start#{i}" => [".erlang.cookie", :compile] do
- existing_server = i > 1 ? " -gen_cluster_known '#{SERVER}' " : ""
stop = ENV['STOP'] ? " -s init stop " : ""
- sh %Q{erl -pa #{root}/ebin -pa #{root}/test/ebin -pa #{root}/deps/*/ebin \
+ sh %Q{GPROC_SEEDS=#{SERVER} \
+erl -pa #{root}/ebin -pa #{root}/test/ebin -pa #{root}/deps/*/ebin \
-name "example_cluster_srv#{i}@#{Socket.gethostname}" \
-setcookie abc \
+W w \
-boot start_sasl \
-s reloader \
-s example_cluster_srv start \
-#{existing_server} \
#{stop}
}, :verbose => true
end
Please sign in to comment.
Something went wrong with that request. Please try again.