Class: Oxidized::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/oxidized/cli.rb

Instance Method Summary collapse

Instance Method Details

#runObject



6
7
8
9
10
11
12
13
14
# File 'lib/oxidized/cli.rb', line 6

def run
  Process.daemon if @opts[:daemonize]
  begin
    Oxidized.new
  rescue => error
    crash error
    raise
  end
end