{"action":"created","issue":{"url":"https://api.github.com/repos/znc/znc/issues/1165","labels_url":"https://api.github.com/repos/znc/znc/issues/1165/labels{/name}","comments_url":"https://api.github.com/repos/znc/znc/issues/1165/comments","events_url":"https://api.github.com/repos/znc/znc/issues/1165/events","html_url":"https://github.com/znc/znc/issues/1165","id":112851606,"number":1165,"title":"znc.service.in only works with ~/.znc","user":{"login":"257","id":1268392,"avatar_url":"https://avatars.githubusercontent.com/u/1268392?v=3","gravatar_id":"","url":"https://api.github.com/users/257","html_url":"https://github.com/257","followers_url":"https://api.github.com/users/257/followers","following_url":"https://api.github.com/users/257/following{/other_user}","gists_url":"https://api.github.com/users/257/gists{/gist_id}","starred_url":"https://api.github.com/users/257/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/257/subscriptions","organizations_url":"https://api.github.com/users/257/orgs","repos_url":"https://api.github.com/users/257/repos","events_url":"https://api.github.com/users/257/events{/privacy}","received_events_url":"https://api.github.com/users/257/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-10-22T17:29:28Z","updated_at":"2015-10-24T08:46:55Z","closed_at":null,"body":"...which will fail on all systems where znc USER has its HOME set to /dev/null. of course one could override this with /etc/systemd/system/znc.service/override.conf but that's a just a workaround. that is \"works out of box\" for systemd is broken.\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27617215-znc-service-in-only-works-with-znc?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1759&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/znc/znc/issues/comments/150777229","html_url":"https://github.com/znc/znc/issues/1165#issuecomment-150777229","issue_url":"https://api.github.com/repos/znc/znc/issues/1165","id":150777229,"user":{"login":"DarthGandalf","id":325092,"avatar_url":"https://avatars.githubusercontent.com/u/325092?v=3","gravatar_id":"","url":"https://api.github.com/users/DarthGandalf","html_url":"https://github.com/DarthGandalf","followers_url":"https://api.github.com/users/DarthGandalf/followers","following_url":"https://api.github.com/users/DarthGandalf/following{/other_user}","gists_url":"https://api.github.com/users/DarthGandalf/gists{/gist_id}","starred_url":"https://api.github.com/users/DarthGandalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DarthGandalf/subscriptions","organizations_url":"https://api.github.com/users/DarthGandalf/orgs","repos_url":"https://api.github.com/users/DarthGandalf/repos","events_url":"https://api.github.com/users/DarthGandalf/events{/privacy}","received_events_url":"https://api.github.com/users/DarthGandalf/received_events","type":"User","site_admin":false},"created_at":"2015-10-24T08:46:55Z","updated_at":"2015-10-24T08:46:55Z","body":"It should be /var/lib/znc instead of /etc/znc, according to\nhttps://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard\n\n2015-10-24 9:30 GMT+01:00 Uli Schlachter <notifications@github.com>:\n\n> @257 <https://github.com/257> What would a useful example look like?\n> Which distros have useful examples?\n>\n> The only thing that comes to my mind is adding --datadir /etc/znc to the\n> command line, but that makes it IMO just harder to use this (users have to\n> guess that they have to run sudo znc --datadir /etc/znc --makeconf). And\n> something like ConditionPathIsDirectory=/etc/znc may make it more obvious\n> that a config has to be created first, but still doesn't provide any hint\n> on how to do that. (Or AssertPathIsDirectory?)\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/znc/znc/issues/1165#issuecomment-150775443>.\n>\n"}}