Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 33 lines (24 sloc) 0.785 kb
#!/usr/bin/env ruby
# -*- mode: ruby -*-
#
#
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
require 'bundler/setup'
require 'vcap_services_base'
$LOAD_PATH.unshift(File.expand_path("../../lib", __FILE__))
require "swift_service/swift_node"
class VCAP::Services::Swift::NodeBin < VCAP::Services::Base::NodeBin
def node_class
VCAP::Services::Swift::Node
end
def default_config_file
File.join(File.dirname(__FILE__), '..', 'config', 'swift_node.yml')
end
def additional_config(options, config)
options[:port] = parse_property(config, "port", Integer)
# register fog_config_file setting
options[:fog_config_file] = parse_property(config, "fog_config_file", String)
options
end
end
VCAP::Services::Swift::NodeBin.new.start
Jump to Line
Something went wrong with that request. Please try again.