lib/cloud_crowd/command_line.rb in cloud-crowd-0.7.3 vs lib/cloud_crowd/command_line.rb in cloud-crowd-0.7.5

- old
+ new

@@ -81,11 +81,11 @@ daemonize = @options[:daemonize] ? '-d' : '' log_path = CloudCrowd.log_path('server.log') pid_path = CloudCrowd.pid_path('server.pid') rackup_path = File.expand_path("#{@options[:config_path]}/config.ru") FileUtils.mkdir_p(CloudCrowd.log_path) if @options[:daemonize] && !File.exists?(CloudCrowd.log_path) - puts "Starting CloudCrowd Central Server on port #{port}..." + puts "Starting CloudCrowd Central Server (#{VERSION}) on port #{port}..." exec "thin -e #{@options[:environment]} -p #{port} #{daemonize} --tag cloud-crowd-server --log #{log_path} --pid #{pid_path} -R #{rackup_path} start" end # Stop the daemonized central server, if it exists. def stop_server @@ -112,11 +112,11 @@ # Launch a Node. Please only run a single node per machine. The Node process # will be long-lived, although its workers will come and go. def start_node @options[:port] ||= Node::DEFAULT_PORT - puts "Starting CloudCrowd Node on port #{@options[:port]}..." + puts "Starting CloudCrowd Node (#{VERSION}) on port #{@options[:port]}..." Node.new(@options) end # If the daemonized Node is running, stop it. def stop_node @@ -240,6 +240,6 @@ is_dir ? FileUtils.cp_r(source, dest) : FileUtils.cp(source, dest) puts "installed #{dest}" unless ENV['RACK_ENV'] == 'test' end end -end \ No newline at end of file +end