Sha256: 64e3c5c2082a332d0d59af55774e403dd2946211d64e57973007c58c3e111d5d
Contents?: true
Size: 526 Bytes
Versions: 25
Compression:
Stored size: 526 Bytes
Contents
#!/usr/bin/env ruby require 'logger' $LOAD_PATH.unshift ::File.expand_path(::File.dirname(__FILE__) + '/lib') require 'mongodb_logger/server' # Set the MONGODBLOGGERCONFIG env variable # config file you want loaded on boot. if ENV['MONGODBLOGGERCONFIG'] && ::File.exists?(::File.expand_path(ENV['MONGODBLOGGERCONFIG'])) MongodbLogger::ServerConfig.set_config(::File.expand_path(ENV['MONGODBLOGGERCONFIG'])) use Rack::ShowExceptions run MongodbLogger::Server.new else raise "Please provide config file" exit 1 end
Version data entries
25 entries across 25 versions & 1 rubygems