#!/usr/local/bin/ruby27

$LOAD_PATH.unshift(*Dir[File.expand_path("../../lib", __FILE__), File.expand_path("../../modules", __FILE__)])
$LOAD_PATH.unshift(*Dir["/usr/local/share/foreman-proxy/lib", "/usr/local/share/foreman-proxy/modules"])

require 'smart_proxy_main'
Proxy::Launcher.new.launch
