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