lib/oxidized/cli.rb in oxidized-0.14.3 vs lib/oxidized/cli.rb in oxidized-0.15.0

- old
+ new

@@ -22,10 +22,10 @@ _args, @opts = parse_opts Config.load(@opts) Oxidized.setup_logger - @pidfile = File.join(Oxidized::Config::Root, 'pid') + @pidfile = File.expand_path(Oxidized.config.pid) end def crash error Oxidized.logger.fatal "Oxidized crashed, crashfile written in #{Config::Crash}" open Config::Crash, 'w' do |file|