{"action":"created","issue":{"url":"https://api.github.com/repos/amadvance/snapraid/issues/6","repository_url":"https://api.github.com/repos/amadvance/snapraid","labels_url":"https://api.github.com/repos/amadvance/snapraid/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/amadvance/snapraid/issues/6/comments","events_url":"https://api.github.com/repos/amadvance/snapraid/issues/6/events","html_url":"https://github.com/amadvance/snapraid/pull/6","id":187583304,"number":6,"title":"Respect sysconfdir for configuration file location","user":{"login":"zofrex","id":22220,"avatar_url":"https://avatars.githubusercontent.com/u/22220?v=3","gravatar_id":"","url":"https://api.github.com/users/zofrex","html_url":"https://github.com/zofrex","followers_url":"https://api.github.com/users/zofrex/followers","following_url":"https://api.github.com/users/zofrex/following{/other_user}","gists_url":"https://api.github.com/users/zofrex/gists{/gist_id}","starred_url":"https://api.github.com/users/zofrex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zofrex/subscriptions","organizations_url":"https://api.github.com/users/zofrex/orgs","repos_url":"https://api.github.com/users/zofrex/repos","events_url":"https://api.github.com/users/zofrex/events{/privacy}","received_events_url":"https://api.github.com/users/zofrex/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-06T19:35:41Z","updated_at":"2016-11-06T21:17:40Z","closed_at":"2016-11-06T21:17:40Z","pull_request":{"url":"https://api.github.com/repos/amadvance/snapraid/pulls/6","html_url":"https://github.com/amadvance/snapraid/pull/6","diff_url":"https://github.com/amadvance/snapraid/pull/6.diff","patch_url":"https://github.com/amadvance/snapraid/pull/6.patch"},"body":"I use SnapRAID on FreeBSD and it works great, but the configuration file location is an anomaly. Everything else ends up in `/usr/local` as expected (e.g. `/usr/local/bin/snapraid`), but the configuration file is loaded from `/etc/` instead of `/usr/local/etc`. This patch changes it so that SnapRAID's behaviour matches what is described by `./configure --help` - that the configuration file location will be `$prefix/etc`.\r\n\r\nAlso: I have no idea what I'm doing, I pieced this together with the autoconf manuals and a lot of searching on StackOverflow. Please consider this a feature request as much as a pull request! :)\r\n\r\nP.S. I love SnapRAID, thanks for all the work you put into this project!"},"comment":{"url":"https://api.github.com/repos/amadvance/snapraid/issues/comments/258711402","html_url":"https://github.com/amadvance/snapraid/pull/6#issuecomment-258711402","issue_url":"https://api.github.com/repos/amadvance/snapraid/issues/6","id":258711402,"user":{"login":"amadvance","id":747159,"avatar_url":"https://avatars.githubusercontent.com/u/747159?v=3","gravatar_id":"","url":"https://api.github.com/users/amadvance","html_url":"https://github.com/amadvance","followers_url":"https://api.github.com/users/amadvance/followers","following_url":"https://api.github.com/users/amadvance/following{/other_user}","gists_url":"https://api.github.com/users/amadvance/gists{/gist_id}","starred_url":"https://api.github.com/users/amadvance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amadvance/subscriptions","organizations_url":"https://api.github.com/users/amadvance/orgs","repos_url":"https://api.github.com/users/amadvance/repos","events_url":"https://api.github.com/users/amadvance/events{/privacy}","received_events_url":"https://api.github.com/users/amadvance/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T21:17:40Z","updated_at":"2016-11-06T21:17:40Z","body":"Hi zofrex,\r\n\r\nOK. I've merged it with some changes. The main one is that if the specified file doesn't exist, it fallback to /etc/ to maintain backward compatibility.\r\nThis should allow both ways to coexist at the same time.\r\n\r\nThanks,\r\nAndrea\r\n"}}
{"actor":{"display_login":"amadvance"}}