#!/usr/bin/env ruby
require 'bundler'
Bundler.setup
$:.unshift(File.expand_path('../../lib', __FILE__))
require 'onapp/engine/command'
require 'pathname'
Daemon.configure do |c|
  c.root_path = Pathname.new(File.expand_path('../..', __FILE__))
end
result = Daemon::Command.new(ARGV.dup).run
exit(result)
