hub_updater
345 Bytes
#!/usr/bin/env ruby
require 'daemons'
require 'optparse'
NOOSFERO_ROOT = File.expand_path(File.dirname(__FILE__) + '/../../../')
Daemons.run_proc('hub') do
require NOOSFERO_ROOT + '/config/environment'
unless ENV['PROXY'].blank?
ENV['NO_PROXY'] ||= 'localhost'
require 'proxifier/env'
end
CommunityHubPlugin::Listener.run
end