nvisibleinc / go-ari-proxy

Asterisk REST Interface proxy system written in Go
Apache License 2.0
31 stars 17 forks source link

Make the config location configurable #19

Open danjenkins opened 8 years ago

danjenkins commented 8 years ago

I'd like to be able to pass into the go-ari-proxy command the location of the config instead of relying on it being in the same directory as where you initialise the command from

Marquis42 commented 8 years ago

You can already do that by passing the -config /path/to/file option. It defaults to ./config.json, but it can be anything. If that doesn't work for you then it's a bug which I will fix.

leifmadsen commented 8 years ago

@danjenkins did you get a chance to try out the config option? If it works, then this is mostly a documentation issue.

danjenkins commented 8 years ago

I did not, I'll be back in the office on Wednesday so I'll give it a go then - sorry, I meant to check this Friday!

leifmadsen commented 8 years ago

No problem! Thanks for following up.