Sha256: d676a04e1ecce9b22250b1e71f4daa16a0fe8321956540dd2617476b26142001
Contents?: true
Size: 604 Bytes
Versions: 2
Compression:
Stored size: 604 Bytes
Contents
#!/usr/bin/env ruby $:.unshift(File.join(File.dirname(__FILE__), "..", "lib")) require "poolparty" require "poolpartycl" o = PoolParty::Optioner.new(ARGV) do |opts, optioner| opts.on('-n name', '--name name', 'Host name') { |h| optioner.hostname h } end o.loaded_clouds.each do |cloud| with_cloud(cloud) do boot_file = "#{Messenger.append_dir}/pm_master_rel-0.1" command = Messenger.erl_command("master", "-boot #{boot_file} #{noshell ? "" : "-noshell -detached -heart"}") vputs "Running #{command}" Kernel.system "exec #{command}" unless testing end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
auser-poolparty-0.2.51 | bin/server-start-master |
auser-poolparty-0.2.52 | bin/server-start-master |