{"action":"created","comment":{"url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/comments/225018787","pull_request_review_id":164525931,"id":225018787,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNTAxODc4Nw==","diff_hunk":"@@ -0,0 +1,31 @@\n+[Unit]\n+description=ipfs p2p daemon\n+After=network.target\n+Requires=network.target\n+\n+[Service]\n+Type=simple\n+User=ipfs\n+RestartSec=1\n+Restart=always\n+PermissionsStartOnly=true\n+Nice=18\n+StateDirectory=/var/lib/ipfs\n+Environment=IPFS_PATH=/var/lib/ipfs\n+Environment=HOME=/var/lib/ipfs\n+LimitNOFILE=8192\n+Environment=IPFS_FD_MAX=8192\n+EnvironmentFile=-/etc/sysconfig/ipfs\n+StandardOutput=journal\n+WorkingDirectory=/var/lib/ipfs\n+ExecStartPre=-adduser --system --group --home /var/lib/ipfs ipfs","path":"misc/systemd/ipfs.service","position":21,"original_position":21,"commit_id":"ad76b6cb8735106ff482e71976fa7b71ebecb7b0","original_commit_id":"ad76b6cb8735106ff482e71976fa7b71ebecb7b0","user":{"login":"sneak","id":408977,"node_id":"MDQ6VXNlcjQwODk3Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/408977?v=4","gravatar_id":"","url":"https://api.github.com/users/sneak","html_url":"https://github.com/sneak","followers_url":"https://api.github.com/users/sneak/followers","following_url":"https://api.github.com/users/sneak/following{/other_user}","gists_url":"https://api.github.com/users/sneak/gists{/gist_id}","starred_url":"https://api.github.com/users/sneak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneak/subscriptions","organizations_url":"https://api.github.com/users/sneak/orgs","repos_url":"https://api.github.com/users/sneak/repos","events_url":"https://api.github.com/users/sneak/events{/privacy}","received_events_url":"https://api.github.com/users/sneak/received_events","type":"User","site_admin":false},"body":"This is for a service started by root, which is why it uses /var/lib/ipfs - just like ssh, or httpd, or any other system service.  This is entirely normal for a systemd service file.  The \"non-admin user\" mode of a unix system is mostly outmoded these days anyway.  This isn't a time-sharing mainframe from the 70s, this is a way to run a daemon on a standard distribution quickly for a sysadmin in 2018 with sane defaults.","created_at":"2018-10-15T01:10:27Z","updated_at":"2018-10-15T01:10:28Z","html_url":"https://github.com/ipfs/go-ipfs/pull/5583#discussion_r225018787","pull_request_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/5583","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/comments/225018787"},"html":{"href":"https://github.com/ipfs/go-ipfs/pull/5583#discussion_r225018787"},"pull_request":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/5583"}},"in_reply_to_id":224493312},"pull_request":{"url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/5583","id":221900740,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIxOTAwNzQw","html_url":"https://github.com/ipfs/go-ipfs/pull/5583","diff_url":"https://github.com/ipfs/go-ipfs/pull/5583.diff","patch_url":"https://github.com/ipfs/go-ipfs/pull/5583.patch","issue_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/5583","number":5583,"state":"open","locked":false,"title":"add systemd service file example","user":{"login":"sneak","id":408977,"node_id":"MDQ6VXNlcjQwODk3Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/408977?v=4","gravatar_id":"","url":"https://api.github.com/users/sneak","html_url":"https://github.com/sneak","followers_url":"https://api.github.com/users/sneak/followers","following_url":"https://api.github.com/users/sneak/following{/other_user}","gists_url":"https://api.github.com/users/sneak/gists{/gist_id}","starred_url":"https://api.github.com/users/sneak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneak/subscriptions","organizations_url":"https://api.github.com/users/sneak/orgs","repos_url":"https://api.github.com/users/sneak/repos","events_url":"https://api.github.com/users/sneak/events{/privacy}","received_events_url":"https://api.github.com/users/sneak/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-10T19:09:46Z","updated_at":"2018-10-15T01:10:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48541220293103aa3acc3327497072388a9dacac","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Kubuxu","id":2259282,"node_id":"MDQ6VXNlcjIyNTkyODI=","avatar_url":"https://avatars3.githubusercontent.com/u/2259282?v=4","gravatar_id":"","url":"https://api.github.com/users/Kubuxu","html_url":"https://github.com/Kubuxu","followers_url":"https://api.github.com/users/Kubuxu/followers","following_url":"https://api.github.com/users/Kubuxu/following{/other_user}","gists_url":"https://api.github.com/users/Kubuxu/gists{/gist_id}","starred_url":"https://api.github.com/users/Kubuxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kubuxu/subscriptions","organizations_url":"https://api.github.com/users/Kubuxu/orgs","repos_url":"https://api.github.com/users/Kubuxu/repos","events_url":"https://api.github.com/users/Kubuxu/events{/privacy}","received_events_url":"https://api.github.com/users/Kubuxu/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/5583/commits","review_comments_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/5583/comments","review_comment_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/5583/comments","statuses_url":"https://api.github.com/repos/ipfs/go-ipfs/statuses/ad76b6cb8735106ff482e71976fa7b71ebecb7b0","head":{"label":"sneak:master","ref":"master","sha":"ad76b6cb8735106ff482e71976fa7b71ebecb7b0","user":{"login":"sneak","id":408977,"node_id":"MDQ6VXNlcjQwODk3Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/408977?v=4","gravatar_id":"","url":"https://api.github.com/users/sneak","html_url":"https://github.com/sneak","followers_url":"https://api.github.com/users/sneak/followers","following_url":"https://api.github.com/users/sneak/following{/other_user}","gists_url":"https://api.github.com/users/sneak/gists{/gist_id}","starred_url":"https://api.github.com/users/sneak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneak/subscriptions","organizations_url":"https://api.github.com/users/sneak/orgs","repos_url":"https://api.github.com/users/sneak/repos","events_url":"https://api.github.com/users/sneak/events{/privacy}","received_events_url":"https://api.github.com/users/sneak/received_events","type":"User","site_admin":false},"repo":{"id":152475551,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0NzU1NTE=","name":"go-ipfs","full_name":"sneak/go-ipfs","private":false,"owner":{"login":"sneak","id":408977,"node_id":"MDQ6VXNlcjQwODk3Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/408977?v=4","gravatar_id":"","url":"https://api.github.com/users/sneak","html_url":"https://github.com/sneak","followers_url":"https://api.github.com/users/sneak/followers","following_url":"https://api.github.com/users/sneak/following{/other_user}","gists_url":"https://api.github.com/users/sneak/gists{/gist_id}","starred_url":"https://api.github.com/users/sneak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sneak/subscriptions","organizations_url":"https://api.github.com/users/sneak/orgs","repos_url":"https://api.github.com/users/sneak/repos","events_url":"https://api.github.com/users/sneak/events{/privacy}","received_events_url":"https://api.github.com/users/sneak/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sneak/go-ipfs","description":"IPFS implementation in Go","fork":true,"url":"https://api.github.com/repos/sneak/go-ipfs","forks_url":"https://api.github.com/repos/sneak/go-ipfs/forks","keys_url":"https://api.github.com/repos/sneak/go-ipfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sneak/go-ipfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sneak/go-ipfs/teams","hooks_url":"https://api.github.com/repos/sneak/go-ipfs/hooks","issue_events_url":"https://api.github.com/repos/sneak/go-ipfs/issues/events{/number}","events_url":"https://api.github.com/repos/sneak/go-ipfs/events","assignees_url":"https://api.github.com/repos/sneak/go-ipfs/assignees{/user}","branches_url":"https://api.github.com/repos/sneak/go-ipfs/branches{/branch}","tags_url":"https://api.github.com/repos/sneak/go-ipfs/tags","blobs_url":"https://api.github.com/repos/sneak/go-ipfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sneak/go-ipfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sneak/go-ipfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/sneak/go-ipfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sneak/go-ipfs/statuses/{sha}","languages_url":"https://api.github.com/repos/sneak/go-ipfs/languages","stargazers_url":"https://api.github.com/repos/sneak/go-ipfs/stargazers","contributors_url":"https://api.github.com/repos/sneak/go-ipfs/contributors","subscribers_url":"https://api.github.com/repos/sneak/go-ipfs/subscribers","subscription_url":"https://api.github.com/repos/sneak/go-ipfs/subscription","commits_url":"https://api.github.com/repos/sneak/go-ipfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/sneak/go-ipfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/sneak/go-ipfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/sneak/go-ipfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/sneak/go-ipfs/contents/{+path}","compare_url":"https://api.github.com/repos/sneak/go-ipfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sneak/go-ipfs/merges","archive_url":"https://api.github.com/repos/sneak/go-ipfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sneak/go-ipfs/downloads","issues_url":"https://api.github.com/repos/sneak/go-ipfs/issues{/number}","pulls_url":"https://api.github.com/repos/sneak/go-ipfs/pulls{/number}","milestones_url":"https://api.github.com/repos/sneak/go-ipfs/milestones{/number}","notifications_url":"https://api.github.com/repos/sneak/go-ipfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sneak/go-ipfs/labels{/name}","releases_url":"https://api.github.com/repos/sneak/go-ipfs/releases{/id}","deployments_url":"https://api.github.com/repos/sneak/go-ipfs/deployments","created_at":"2018-10-10T19:07:17Z","updated_at":"2018-10-10T19:11:57Z","pushed_at":"2018-10-10T19:11:55Z","git_url":"git://github.com/sneak/go-ipfs.git","ssh_url":"git@github.com:sneak/go-ipfs.git","clone_url":"https://github.com/sneak/go-ipfs.git","svn_url":"https://github.com/sneak/go-ipfs","homepage":"https://ipfs.io","size":33480,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ipfs:master","ref":"master","sha":"d0d300c4ae11abdcadd1828e1b0c0770f1d3c1c9","user":{"login":"ipfs","id":10536621,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTM2NjIx","avatar_url":"https://avatars0.githubusercontent.com/u/10536621?v=4","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"repo":{"id":21233191,"node_id":"MDEwOlJlcG9zaXRvcnkyMTIzMzE5MQ==","name":"go-ipfs","full_name":"ipfs/go-ipfs","private":false,"owner":{"login":"ipfs","id":10536621,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEwNTM2NjIx","avatar_url":"https://avatars0.githubusercontent.com/u/10536621?v=4","gravatar_id":"","url":"https://api.github.com/users/ipfs","html_url":"https://github.com/ipfs","followers_url":"https://api.github.com/users/ipfs/followers","following_url":"https://api.github.com/users/ipfs/following{/other_user}","gists_url":"https://api.github.com/users/ipfs/gists{/gist_id}","starred_url":"https://api.github.com/users/ipfs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipfs/subscriptions","organizations_url":"https://api.github.com/users/ipfs/orgs","repos_url":"https://api.github.com/users/ipfs/repos","events_url":"https://api.github.com/users/ipfs/events{/privacy}","received_events_url":"https://api.github.com/users/ipfs/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/ipfs/go-ipfs","description":"IPFS implementation in Go","fork":false,"url":"https://api.github.com/repos/ipfs/go-ipfs","forks_url":"https://api.github.com/repos/ipfs/go-ipfs/forks","keys_url":"https://api.github.com/repos/ipfs/go-ipfs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipfs/go-ipfs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipfs/go-ipfs/teams","hooks_url":"https://api.github.com/repos/ipfs/go-ipfs/hooks","issue_events_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/events{/number}","events_url":"https://api.github.com/repos/ipfs/go-ipfs/events","assignees_url":"https://api.github.com/repos/ipfs/go-ipfs/assignees{/user}","branches_url":"https://api.github.com/repos/ipfs/go-ipfs/branches{/branch}","tags_url":"https://api.github.com/repos/ipfs/go-ipfs/tags","blobs_url":"https://api.github.com/repos/ipfs/go-ipfs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipfs/go-ipfs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipfs/go-ipfs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipfs/go-ipfs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipfs/go-ipfs/statuses/{sha}","languages_url":"https://api.github.com/repos/ipfs/go-ipfs/languages","stargazers_url":"https://api.github.com/repos/ipfs/go-ipfs/stargazers","contributors_url":"https://api.github.com/repos/ipfs/go-ipfs/contributors","subscribers_url":"https://api.github.com/repos/ipfs/go-ipfs/subscribers","subscription_url":"https://api.github.com/repos/ipfs/go-ipfs/subscription","commits_url":"https://api.github.com/repos/ipfs/go-ipfs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipfs/go-ipfs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipfs/go-ipfs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipfs/go-ipfs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipfs/go-ipfs/contents/{+path}","compare_url":"https://api.github.com/repos/ipfs/go-ipfs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipfs/go-ipfs/merges","archive_url":"https://api.github.com/repos/ipfs/go-ipfs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipfs/go-ipfs/downloads","issues_url":"https://api.github.com/repos/ipfs/go-ipfs/issues{/number}","pulls_url":"https://api.github.com/repos/ipfs/go-ipfs/pulls{/number}","milestones_url":"https://api.github.com/repos/ipfs/go-ipfs/milestones{/number}","notifications_url":"https://api.github.com/repos/ipfs/go-ipfs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipfs/go-ipfs/labels{/name}","releases_url":"https://api.github.com/repos/ipfs/go-ipfs/releases{/id}","deployments_url":"https://api.github.com/repos/ipfs/go-ipfs/deployments","created_at":"2014-06-26T08:14:34Z","updated_at":"2018-10-15T00:42:24Z","pushed_at":"2018-10-13T21:20:43Z","git_url":"git://github.com/ipfs/go-ipfs.git","ssh_url":"git@github.com:ipfs/go-ipfs.git","clone_url":"https://github.com/ipfs/go-ipfs.git","svn_url":"https://github.com/ipfs/go-ipfs","homepage":"https://ipfs.io","size":33502,"stargazers_count":6859,"watchers_count":6859,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1222,"mirror_url":null,"archived":false,"open_issues_count":1046,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1222,"open_issues":1046,"watchers":6859,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/5583"},"html":{"href":"https://github.com/ipfs/go-ipfs/pull/5583"},"issue":{"href":"https://api.github.com/repos/ipfs/go-ipfs/issues/5583"},"comments":{"href":"https://api.github.com/repos/ipfs/go-ipfs/issues/5583/comments"},"review_comments":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/5583/comments"},"review_comment":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipfs/go-ipfs/pulls/5583/commits"},"statuses":{"href":"https://api.github.com/repos/ipfs/go-ipfs/statuses/ad76b6cb8735106ff482e71976fa7b71ebecb7b0"}},"author_association":"NONE"}}
{"actor":{"display_login":"sneak"}}