Skip to content

Commit

Permalink
Remove log/pid file defaults
Browse files Browse the repository at this point in the history
Use dante's defaults
  • Loading branch information
jszwedko committed Oct 24, 2014
1 parent 9378358 commit 752759f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions newrelic_redis_agent
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ require "dante"
require "newrelic_plugin"
require "redis"

pid_path = File.expand_path("../run/newrelic_redis_agent.pid", __FILE__)
log_path = File.expand_path("../log/newrelic_redis_agent.log", __FILE__)

runner = Dante::Runner.new('newrelic_redis_agent', :pid_path => pid_path, :log_path => log_path)
runner = Dante::Runner.new('newrelic_redis_agent')
runner.description = 'New Relic plugin agent for Redis'
runner.with_options do |opts|
opts.on('-c', '--config FILE', String, 'Specify configuration file') do |config|
Expand Down

0 comments on commit 752759f

Please # to comment.