bin/server-start-node in poolparty-0.2.69 vs bin/server-start-node in poolparty-0.2.84

- old
+ new

@@ -20,10 +20,10 @@ already_running = %x[ps aux | grep beam | grep -v grep | grep node] if already_running.chomp.empty? boot_file = "#{Messenger.append_dir}/pm_node_rel-0.1" Kernel.system ". /etc/profile && server-build-messenger" unless ::File.file?("#{boot_file}.boot") || testing - command = Messenger.erl_command(hostname, "-boot #{boot_file} #{noshell ? "" : "-noshell -detached -heart"} -- #{available_monitors.join(" ")}") + command = Messenger.erl_command(hostname, "-setcookie #{generate_unique_cookie_string} -boot #{boot_file} #{noshell ? "" : "-noshell -detached -heart"} -- #{available_monitors.join(" ")}") vputs "Running #{command}" Kernel.system "export HOME=/root && #{command}" unless testing end end \ No newline at end of file