{"action":"created","issue":{"url":"https://api.github.com/repos/decred/dcrd/issues/109","repository_url":"https://api.github.com/repos/decred/dcrd","labels_url":"https://api.github.com/repos/decred/dcrd/issues/109/labels{/name}","comments_url":"https://api.github.com/repos/decred/dcrd/issues/109/comments","events_url":"https://api.github.com/repos/decred/dcrd/issues/109/events","html_url":"https://github.com/decred/dcrd/pull/109","id":147312179,"number":109,"title":"Updated config to allow the ability to change the home directory","user":{"login":"Reiuiji","id":633476,"avatar_url":"https://avatars.githubusercontent.com/u/633476?v=3","gravatar_id":"","url":"https://api.github.com/users/Reiuiji","html_url":"https://github.com/Reiuiji","followers_url":"https://api.github.com/users/Reiuiji/followers","following_url":"https://api.github.com/users/Reiuiji/following{/other_user}","gists_url":"https://api.github.com/users/Reiuiji/gists{/gist_id}","starred_url":"https://api.github.com/users/Reiuiji/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Reiuiji/subscriptions","organizations_url":"https://api.github.com/users/Reiuiji/orgs","repos_url":"https://api.github.com/users/Reiuiji/repos","events_url":"https://api.github.com/users/Reiuiji/events{/privacy}","received_events_url":"https://api.github.com/users/Reiuiji/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-04-11T04:12:14Z","updated_at":"2016-04-13T15:29:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/decred/dcrd/pulls/109","html_url":"https://github.com/decred/dcrd/pull/109","diff_url":"https://github.com/decred/dcrd/pull/109.diff","patch_url":"https://github.com/decred/dcrd/pull/109.patch"},"body":"Enable the option to change the directory for dcrd.\r\nExample: dcrd -D /dir/dcrd"},"comment":{"url":"https://api.github.com/repos/decred/dcrd/issues/comments/209510726","html_url":"https://github.com/decred/dcrd/pull/109#issuecomment-209510726","issue_url":"https://api.github.com/repos/decred/dcrd/issues/109","id":209510726,"user":{"login":"davecgh","id":2115102,"avatar_url":"https://avatars.githubusercontent.com/u/2115102?v=3","gravatar_id":"","url":"https://api.github.com/users/davecgh","html_url":"https://github.com/davecgh","followers_url":"https://api.github.com/users/davecgh/followers","following_url":"https://api.github.com/users/davecgh/following{/other_user}","gists_url":"https://api.github.com/users/davecgh/gists{/gist_id}","starred_url":"https://api.github.com/users/davecgh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecgh/subscriptions","organizations_url":"https://api.github.com/users/davecgh/orgs","repos_url":"https://api.github.com/users/davecgh/repos","events_url":"https://api.github.com/users/davecgh/events{/privacy}","received_events_url":"https://api.github.com/users/davecgh/received_events","type":"User","site_admin":false},"created_at":"2016-04-13T15:29:42Z","updated_at":"2016-04-13T15:29:42Z","body":"Honestly, I don't really care for it because it means `dcrwallet` and `dcrctl` will not find certificates automatically and thus will require more configuration.  Also, there is a `--datadir` and a `--logdir` option to move the things that actually take up space.  Further, if you really want the certs and config file to go somewhere else, you can already change the config file you use with `--configfile` and have it point to any location for cert/key with the `--rpccert` and `--rpckey` options.\r\n\r\nThere isn't really any difference between doing `dcrd -D /new/home/dir` and `dcrd -C /new/home/dir/dcrd.conf` where that config file puts things where you want.\r\n\r\nThat said, it seems to be a misfeature that people want and this PR does a good job of changing the other paths to the specified homedir while still allowing them to be overridden which is something the other one wasn't doing."}}