{"action":"created","issue":{"url":"https://api.github.com/repos/gogits/gogs/issues/1090","labels_url":"https://api.github.com/repos/gogits/gogs/issues/1090/labels{/name}","comments_url":"https://api.github.com/repos/gogits/gogs/issues/1090/comments","events_url":"https://api.github.com/repos/gogits/gogs/issues/1090/events","html_url":"https://github.com/gogits/gogs/issues/1090","id":62817336,"number":1090,"title":"gogs should use CWD","user":{"login":"raichu","id":3126046,"avatar_url":"https://avatars.githubusercontent.com/u/3126046?v=3","gravatar_id":"","url":"https://api.github.com/users/raichu","html_url":"https://github.com/raichu","followers_url":"https://api.github.com/users/raichu/followers","following_url":"https://api.github.com/users/raichu/following{/other_user}","gists_url":"https://api.github.com/users/raichu/gists{/gist_id}","starred_url":"https://api.github.com/users/raichu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raichu/subscriptions","organizations_url":"https://api.github.com/users/raichu/orgs","repos_url":"https://api.github.com/users/raichu/repos","events_url":"https://api.github.com/users/raichu/events{/privacy}","received_events_url":"https://api.github.com/users/raichu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gogits/gogs/labels/deployment","name":"deployment","color":"d4c5f9"},{"url":"https://api.github.com/repos/gogits/gogs/labels/feedback%20needed","name":"feedback needed","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-18T22:23:04Z","updated_at":"2015-03-19T11:29:58Z","closed_at":null,"body":"gogs is institing that the templates should be in the directory where the binaries are.\r\nThat is not how common Unix installations works. You need to make the data directory should be separate for Linux packages, and either let users pass the template etc dir, or just use the current working directory. But never insist on the binary dir (which is typically /usr/bin, and that is **not** where things like templates go)"},"comment":{"url":"https://api.github.com/repos/gogits/gogs/issues/comments/83518694","html_url":"https://github.com/gogits/gogs/issues/1090#issuecomment-83518694","issue_url":"https://api.github.com/repos/gogits/gogs/issues/1090","id":83518694,"user":{"login":"linquize","id":791115,"avatar_url":"https://avatars.githubusercontent.com/u/791115?v=3","gravatar_id":"","url":"https://api.github.com/users/linquize","html_url":"https://github.com/linquize","followers_url":"https://api.github.com/users/linquize/followers","following_url":"https://api.github.com/users/linquize/following{/other_user}","gists_url":"https://api.github.com/users/linquize/gists{/gist_id}","starred_url":"https://api.github.com/users/linquize/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linquize/subscriptions","organizations_url":"https://api.github.com/users/linquize/orgs","repos_url":"https://api.github.com/users/linquize/repos","events_url":"https://api.github.com/users/linquize/events{/privacy}","received_events_url":"https://api.github.com/users/linquize/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T11:29:58Z","updated_at":"2015-03-19T11:29:58Z","body":"About the default location:\r\nWhat happen if I relocate the binary together with the template?\r\nShould I recompile gogs?"}}