railsware / newrelic_platform_plugins

MIT License
42 stars 66 forks source link

-c option doesn't work for "install" #10

Open tonyarkles opened 11 years ago

tonyarkles commented 11 years ago

I'm using SmartOS, where app-specific config files get written to /opt/local/etc instead of /etc. The -c option will work great for loading the config from there, but the "install" command expects hard-coded paths.

There's a pretty simple workaround; I'll just copy the .yml.example manually and stick it there, but it'd be nice if the -c option worked consistently.

zdrummond commented 11 years ago

FYI, install just creates an example install yaml. You can do the same by copying this down;

https://github.com/railsware/newrelic_platform_plugins/blob/master/newrelic_resque_agent/config/newrelic_plugin.yml.example