{"action":"created","comment":{"url":"https://api.github.com/repos/jordansissel/pleaserun/pulls/comments/63433519","id":63433519,"diff_hunk":"@@ -25,14 +25,19 @@ def detect_platform\n \n   def detect_systemd\n     # Expect a certain directory\n-    return false unless File.directory?(\"/lib/systemd/system\")\n+    return false unless File.directory?(\"/lib/systemd/system\") || File.directory?(\"/usr/lib/systemd/system\")","path":"lib/pleaserun/detector.rb","position":5,"original_position":5,"commit_id":"2a39f798a1ad20f88beb9cd11ff920749f4157e6","original_commit_id":"2a39f798a1ad20f88beb9cd11ff920749f4157e6","user":{"login":"untergeek","id":1020383,"avatar_url":"https://avatars.githubusercontent.com/u/1020383?v=3","gravatar_id":"","url":"https://api.github.com/users/untergeek","html_url":"https://github.com/untergeek","followers_url":"https://api.github.com/users/untergeek/followers","following_url":"https://api.github.com/users/untergeek/following{/other_user}","gists_url":"https://api.github.com/users/untergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/untergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untergeek/subscriptions","organizations_url":"https://api.github.com/users/untergeek/orgs","repos_url":"https://api.github.com/users/untergeek/repos","events_url":"https://api.github.com/users/untergeek/events{/privacy}","received_events_url":"https://api.github.com/users/untergeek/received_events","type":"User","site_admin":false},"body":"That, combined with a test for the `systemctl` binary should suffice.","created_at":"2016-05-16T21:58:11Z","updated_at":"2016-05-16T21:58:11Z","html_url":"https://github.com/jordansissel/pleaserun/pull/104#discussion_r63433519","pull_request_url":"https://api.github.com/repos/jordansissel/pleaserun/pulls/104","_links":{"self":{"href":"https://api.github.com/repos/jordansissel/pleaserun/pulls/comments/63433519"},"html":{"href":"https://github.com/jordansissel/pleaserun/pull/104#discussion_r63433519"},"pull_request":{"href":"https://api.github.com/repos/jordansissel/pleaserun/pulls/104"}}},"pull_request":{"url":"https://api.github.com/repos/jordansissel/pleaserun/pulls/104","id":70260208,"html_url":"https://github.com/jordansissel/pleaserun/pull/104","diff_url":"https://github.com/jordansissel/pleaserun/pull/104.diff","patch_url":"https://github.com/jordansissel/pleaserun/pull/104.patch","issue_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/104","number":104,"state":"open","locked":false,"title":"Allow for systemd path used by SuSE variants","user":{"login":"untergeek","id":1020383,"avatar_url":"https://avatars.githubusercontent.com/u/1020383?v=3","gravatar_id":"","url":"https://api.github.com/users/untergeek","html_url":"https://github.com/untergeek","followers_url":"https://api.github.com/users/untergeek/followers","following_url":"https://api.github.com/users/untergeek/following{/other_user}","gists_url":"https://api.github.com/users/untergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/untergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untergeek/subscriptions","organizations_url":"https://api.github.com/users/untergeek/orgs","repos_url":"https://api.github.com/users/untergeek/repos","events_url":"https://api.github.com/users/untergeek/events{/privacy}","received_events_url":"https://api.github.com/users/untergeek/received_events","type":"User","site_admin":false},"body":"Which is /usr/lib/systemd instead of /lib/systemd\r\n\r\nApologies for the empty line/space corrections picked up by my editor (Atom).\r\n\r\nfixes #103","created_at":"2016-05-16T20:57:42Z","updated_at":"2016-05-16T21:58:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbe37cfd77eb82d5abd4c3e1e9030d062dcaa398","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jordansissel/pleaserun/pulls/104/commits","review_comments_url":"https://api.github.com/repos/jordansissel/pleaserun/pulls/104/comments","review_comment_url":"https://api.github.com/repos/jordansissel/pleaserun/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/104/comments","statuses_url":"https://api.github.com/repos/jordansissel/pleaserun/statuses/2a39f798a1ad20f88beb9cd11ff920749f4157e6","head":{"label":"untergeek:fix/103","ref":"fix/103","sha":"2a39f798a1ad20f88beb9cd11ff920749f4157e6","user":{"login":"untergeek","id":1020383,"avatar_url":"https://avatars.githubusercontent.com/u/1020383?v=3","gravatar_id":"","url":"https://api.github.com/users/untergeek","html_url":"https://github.com/untergeek","followers_url":"https://api.github.com/users/untergeek/followers","following_url":"https://api.github.com/users/untergeek/following{/other_user}","gists_url":"https://api.github.com/users/untergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/untergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untergeek/subscriptions","organizations_url":"https://api.github.com/users/untergeek/orgs","repos_url":"https://api.github.com/users/untergeek/repos","events_url":"https://api.github.com/users/untergeek/events{/privacy}","received_events_url":"https://api.github.com/users/untergeek/received_events","type":"User","site_admin":false},"repo":{"id":39034875,"name":"pleaserun","full_name":"untergeek/pleaserun","owner":{"login":"untergeek","id":1020383,"avatar_url":"https://avatars.githubusercontent.com/u/1020383?v=3","gravatar_id":"","url":"https://api.github.com/users/untergeek","html_url":"https://github.com/untergeek","followers_url":"https://api.github.com/users/untergeek/followers","following_url":"https://api.github.com/users/untergeek/following{/other_user}","gists_url":"https://api.github.com/users/untergeek/gists{/gist_id}","starred_url":"https://api.github.com/users/untergeek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/untergeek/subscriptions","organizations_url":"https://api.github.com/users/untergeek/orgs","repos_url":"https://api.github.com/users/untergeek/repos","events_url":"https://api.github.com/users/untergeek/events{/privacy}","received_events_url":"https://api.github.com/users/untergeek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/untergeek/pleaserun","description":"An attempt to abstract this \"init\" script madness.","fork":true,"url":"https://api.github.com/repos/untergeek/pleaserun","forks_url":"https://api.github.com/repos/untergeek/pleaserun/forks","keys_url":"https://api.github.com/repos/untergeek/pleaserun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/untergeek/pleaserun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/untergeek/pleaserun/teams","hooks_url":"https://api.github.com/repos/untergeek/pleaserun/hooks","issue_events_url":"https://api.github.com/repos/untergeek/pleaserun/issues/events{/number}","events_url":"https://api.github.com/repos/untergeek/pleaserun/events","assignees_url":"https://api.github.com/repos/untergeek/pleaserun/assignees{/user}","branches_url":"https://api.github.com/repos/untergeek/pleaserun/branches{/branch}","tags_url":"https://api.github.com/repos/untergeek/pleaserun/tags","blobs_url":"https://api.github.com/repos/untergeek/pleaserun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/untergeek/pleaserun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/untergeek/pleaserun/git/refs{/sha}","trees_url":"https://api.github.com/repos/untergeek/pleaserun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/untergeek/pleaserun/statuses/{sha}","languages_url":"https://api.github.com/repos/untergeek/pleaserun/languages","stargazers_url":"https://api.github.com/repos/untergeek/pleaserun/stargazers","contributors_url":"https://api.github.com/repos/untergeek/pleaserun/contributors","subscribers_url":"https://api.github.com/repos/untergeek/pleaserun/subscribers","subscription_url":"https://api.github.com/repos/untergeek/pleaserun/subscription","commits_url":"https://api.github.com/repos/untergeek/pleaserun/commits{/sha}","git_commits_url":"https://api.github.com/repos/untergeek/pleaserun/git/commits{/sha}","comments_url":"https://api.github.com/repos/untergeek/pleaserun/comments{/number}","issue_comment_url":"https://api.github.com/repos/untergeek/pleaserun/issues/comments{/number}","contents_url":"https://api.github.com/repos/untergeek/pleaserun/contents/{+path}","compare_url":"https://api.github.com/repos/untergeek/pleaserun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/untergeek/pleaserun/merges","archive_url":"https://api.github.com/repos/untergeek/pleaserun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/untergeek/pleaserun/downloads","issues_url":"https://api.github.com/repos/untergeek/pleaserun/issues{/number}","pulls_url":"https://api.github.com/repos/untergeek/pleaserun/pulls{/number}","milestones_url":"https://api.github.com/repos/untergeek/pleaserun/milestones{/number}","notifications_url":"https://api.github.com/repos/untergeek/pleaserun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/untergeek/pleaserun/labels{/name}","releases_url":"https://api.github.com/repos/untergeek/pleaserun/releases{/id}","deployments_url":"https://api.github.com/repos/untergeek/pleaserun/deployments","created_at":"2015-07-13T20:12:46Z","updated_at":"2016-05-05T20:20:36Z","pushed_at":"2016-05-16T21:25:48Z","git_url":"git://github.com/untergeek/pleaserun.git","ssh_url":"git@github.com:untergeek/pleaserun.git","clone_url":"https://github.com/untergeek/pleaserun.git","svn_url":"https://github.com/untergeek/pleaserun","homepage":null,"size":302,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jordansissel:master","ref":"master","sha":"04aaaeadff54e94498863426871daeb809549206","user":{"login":"jordansissel","id":131818,"avatar_url":"https://avatars.githubusercontent.com/u/131818?v=3","gravatar_id":"","url":"https://api.github.com/users/jordansissel","html_url":"https://github.com/jordansissel","followers_url":"https://api.github.com/users/jordansissel/followers","following_url":"https://api.github.com/users/jordansissel/following{/other_user}","gists_url":"https://api.github.com/users/jordansissel/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansissel/subscriptions","organizations_url":"https://api.github.com/users/jordansissel/orgs","repos_url":"https://api.github.com/users/jordansissel/repos","events_url":"https://api.github.com/users/jordansissel/events{/privacy}","received_events_url":"https://api.github.com/users/jordansissel/received_events","type":"User","site_admin":false},"repo":{"id":11361791,"name":"pleaserun","full_name":"jordansissel/pleaserun","owner":{"login":"jordansissel","id":131818,"avatar_url":"https://avatars.githubusercontent.com/u/131818?v=3","gravatar_id":"","url":"https://api.github.com/users/jordansissel","html_url":"https://github.com/jordansissel","followers_url":"https://api.github.com/users/jordansissel/followers","following_url":"https://api.github.com/users/jordansissel/following{/other_user}","gists_url":"https://api.github.com/users/jordansissel/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansissel/subscriptions","organizations_url":"https://api.github.com/users/jordansissel/orgs","repos_url":"https://api.github.com/users/jordansissel/repos","events_url":"https://api.github.com/users/jordansissel/events{/privacy}","received_events_url":"https://api.github.com/users/jordansissel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jordansissel/pleaserun","description":"An attempt to abstract this \"init\" script madness.","fork":false,"url":"https://api.github.com/repos/jordansissel/pleaserun","forks_url":"https://api.github.com/repos/jordansissel/pleaserun/forks","keys_url":"https://api.github.com/repos/jordansissel/pleaserun/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jordansissel/pleaserun/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jordansissel/pleaserun/teams","hooks_url":"https://api.github.com/repos/jordansissel/pleaserun/hooks","issue_events_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/events{/number}","events_url":"https://api.github.com/repos/jordansissel/pleaserun/events","assignees_url":"https://api.github.com/repos/jordansissel/pleaserun/assignees{/user}","branches_url":"https://api.github.com/repos/jordansissel/pleaserun/branches{/branch}","tags_url":"https://api.github.com/repos/jordansissel/pleaserun/tags","blobs_url":"https://api.github.com/repos/jordansissel/pleaserun/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jordansissel/pleaserun/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jordansissel/pleaserun/git/refs{/sha}","trees_url":"https://api.github.com/repos/jordansissel/pleaserun/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jordansissel/pleaserun/statuses/{sha}","languages_url":"https://api.github.com/repos/jordansissel/pleaserun/languages","stargazers_url":"https://api.github.com/repos/jordansissel/pleaserun/stargazers","contributors_url":"https://api.github.com/repos/jordansissel/pleaserun/contributors","subscribers_url":"https://api.github.com/repos/jordansissel/pleaserun/subscribers","subscription_url":"https://api.github.com/repos/jordansissel/pleaserun/subscription","commits_url":"https://api.github.com/repos/jordansissel/pleaserun/commits{/sha}","git_commits_url":"https://api.github.com/repos/jordansissel/pleaserun/git/commits{/sha}","comments_url":"https://api.github.com/repos/jordansissel/pleaserun/comments{/number}","issue_comment_url":"https://api.github.com/repos/jordansissel/pleaserun/issues/comments{/number}","contents_url":"https://api.github.com/repos/jordansissel/pleaserun/contents/{+path}","compare_url":"https://api.github.com/repos/jordansissel/pleaserun/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jordansissel/pleaserun/merges","archive_url":"https://api.github.com/repos/jordansissel/pleaserun/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jordansissel/pleaserun/downloads","issues_url":"https://api.github.com/repos/jordansissel/pleaserun/issues{/number}","pulls_url":"https://api.github.com/repos/jordansissel/pleaserun/pulls{/number}","milestones_url":"https://api.github.com/repos/jordansissel/pleaserun/milestones{/number}","notifications_url":"https://api.github.com/repos/jordansissel/pleaserun/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jordansissel/pleaserun/labels{/name}","releases_url":"https://api.github.com/repos/jordansissel/pleaserun/releases{/id}","deployments_url":"https://api.github.com/repos/jordansissel/pleaserun/deployments","created_at":"2013-07-12T06:04:02Z","updated_at":"2016-05-16T15:50:46Z","pushed_at":"2016-05-16T21:25:49Z","git_url":"git://github.com/jordansissel/pleaserun.git","ssh_url":"git@github.com:jordansissel/pleaserun.git","clone_url":"https://github.com/jordansissel/pleaserun.git","svn_url":"https://github.com/jordansissel/pleaserun","homepage":null,"size":400,"stargazers_count":832,"watchers_count":832,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":61,"mirror_url":null,"open_issues_count":34,"forks":61,"open_issues":34,"watchers":832,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jordansissel/pleaserun/pulls/104"},"html":{"href":"https://github.com/jordansissel/pleaserun/pull/104"},"issue":{"href":"https://api.github.com/repos/jordansissel/pleaserun/issues/104"},"comments":{"href":"https://api.github.com/repos/jordansissel/pleaserun/issues/104/comments"},"review_comments":{"href":"https://api.github.com/repos/jordansissel/pleaserun/pulls/104/comments"},"review_comment":{"href":"https://api.github.com/repos/jordansissel/pleaserun/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jordansissel/pleaserun/pulls/104/commits"},"statuses":{"href":"https://api.github.com/repos/jordansissel/pleaserun/statuses/2a39f798a1ad20f88beb9cd11ff920749f4157e6"}}}}