{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/660","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/660/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/660/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/660/events","html_url":"https://github.com/nextcloud/server/pull/660","id":168347457,"number":660,"title":"introduce NEXTCLOUD_CONFIG_DIR env variable (see #300)","user":{"login":"gdamjan","id":81654,"avatar_url":"https://avatars.githubusercontent.com/u/81654?v=3","gravatar_id":"","url":"https://api.github.com/users/gdamjan","html_url":"https://github.com/gdamjan","followers_url":"https://api.github.com/users/gdamjan/followers","following_url":"https://api.github.com/users/gdamjan/following{/other_user}","gists_url":"https://api.github.com/users/gdamjan/gists{/gist_id}","starred_url":"https://api.github.com/users/gdamjan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdamjan/subscriptions","organizations_url":"https://api.github.com/users/gdamjan/orgs","repos_url":"https://api.github.com/users/gdamjan/repos","events_url":"https://api.github.com/users/gdamjan/events{/privacy}","received_events_url":"https://api.github.com/users/gdamjan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-29T15:13:28Z","updated_at":"2016-07-29T19:26:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nextcloud/server/pulls/660","html_url":"https://github.com/nextcloud/server/pull/660","diff_url":"https://github.com/nextcloud/server/pull/660.diff","patch_url":"https://github.com/nextcloud/server/pull/660.patch"},"body":"nextcloud by default uses the `/config/` directory in the source/application tree for its config file(s). with this commit that directory can be overridden by the `NEXTCLOUD_CONFIG_DIR` environment variable.\r\n\r\nin uwsgi, you would use the option `--env \"NEXTCLOUD_CONFIG_DIR=/tmp/nx-config/\"`\r\nin apache use `SetENV …`\r\nand the cli command can be run with: `NEXTCLOUD_CONFIG_DIR=/tmp/nx-config ./occ` (or just use `export` once in the shell).\r\n\r\nNEXTCLOUD_CONFIG_DIR can be supplied with or without the trailing slash (`/`), but in all cases `$configDir` will have it automatically added if needed.\r\n\r\nThe other changes are several occurrences of `OC::$SERVERROOT . '/config'` to `OC::$configDir`."},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/236271755","html_url":"https://github.com/nextcloud/server/pull/660#issuecomment-236271755","issue_url":"https://api.github.com/repos/nextcloud/server/issues/660","id":236271755,"user":{"login":"schiessle","id":1589737,"avatar_url":"https://avatars.githubusercontent.com/u/1589737?v=3","gravatar_id":"","url":"https://api.github.com/users/schiessle","html_url":"https://github.com/schiessle","followers_url":"https://api.github.com/users/schiessle/followers","following_url":"https://api.github.com/users/schiessle/following{/other_user}","gists_url":"https://api.github.com/users/schiessle/gists{/gist_id}","starred_url":"https://api.github.com/users/schiessle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schiessle/subscriptions","organizations_url":"https://api.github.com/users/schiessle/orgs","repos_url":"https://api.github.com/users/schiessle/repos","events_url":"https://api.github.com/users/schiessle/events{/privacy}","received_events_url":"https://api.github.com/users/schiessle/received_events","type":"User","site_admin":false},"created_at":"2016-07-29T19:26:09Z","updated_at":"2016-07-29T19:26:09Z","body":"@gdamjan thanks for providing the reference"}}
{"actor":{"display_login":"schiessle"}}