6
7
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/oxidized/cli.rb', line 6
def run
check_pid
Process.daemon if @opts[:daemonize]
write_pid
begin
Oxidized.logger.info "Oxidized starting, running as pid #{$$}"
Oxidized.new
rescue => error
crash error
raise
end
end
|