{"action":"created","comment":{"url":"https://api.github.com/repos/behance/mesos-systemd/pulls/comments/37339534","id":37339534,"diff_hunk":"@@ -0,0 +1,29 @@\n+[Unit]\n+Description=Sumologic Collector\n+After=docker.service\n+\n+[Service]\n+User=core\n+Restart=always\n+ExecStartPre=-/usr/bin/docker stop sumologic-control\n+ExecStartPre=-/usr/bin/docker rm -f sumologic-control\n+ExecStartPre=/usr/bin/docker pull behance/docker-sumologic\n+TimeoutStartSec=0\n+ExecStartPre=-/usr/bin/docker kill sumologic-control\n+ExecStartPre=-/usr/bin/docker rm sumologic-control\n+ExecStart=/usr/bin/bash -c \\\n+    \"if [[ -f /etc/profile.d/etcdctl.sh ]]; then source /etc/profile.d/etcdctl.sh;fi && \\\n+    sudo /usr/bin/docker run --name sumologic-control \\\n+    -v /var/lib/docker/containers/:/tmp/clogs/:ro \\\n+    -e SUMO_NAME=docker_cluster \\\n+    -e SUMO_CATEGORY=be/`cat /home/core/.product`/`cat /home/core/.tier`/control-logs \\\n+    -e SUMO_COLLECTOR_NAME=mesos_app_collector \\\n+    -e SUMO_ACCESS_ID=`etcdctl get /sumologic_id` \\\n+    -e SUMO_ACCESS_KEY=`etcdctl get /sumologic_secret` \\\n+    behance/docker-sumologic\"\n+ExecStop=/usr/bin/docker stop sumologic-control\n+\n+[X-Fleet]\n+Global=true\n+MachineMetadata=role=control\n+MachineMetadata=role=proxy","path":"v1/fleet_units/sumologic-control.service","position":29,"original_position":29,"commit_id":"c3a600337b5299506b7997ed84c54d677587552b","original_commit_id":"2e44b6fb9438515cb9249d70a1aca546e125b289","user":{"login":"iderdik","id":823778,"avatar_url":"https://avatars.githubusercontent.com/u/823778?v=3","gravatar_id":"","url":"https://api.github.com/users/iderdik","html_url":"https://github.com/iderdik","followers_url":"https://api.github.com/users/iderdik/followers","following_url":"https://api.github.com/users/iderdik/following{/other_user}","gists_url":"https://api.github.com/users/iderdik/gists{/gist_id}","starred_url":"https://api.github.com/users/iderdik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iderdik/subscriptions","organizations_url":"https://api.github.com/users/iderdik/orgs","repos_url":"https://api.github.com/users/iderdik/repos","events_url":"https://api.github.com/users/iderdik/events{/privacy}","received_events_url":"https://api.github.com/users/iderdik/received_events","type":"User","site_admin":false},"body":"Yep, I had the change in the file unsaved :cold_sweat: ","created_at":"2015-08-18T19:03:55Z","updated_at":"2015-08-18T19:03:55Z","html_url":"https://github.com/behance/mesos-systemd/pull/40#discussion_r37339534","pull_request_url":"https://api.github.com/repos/behance/mesos-systemd/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/behance/mesos-systemd/pulls/comments/37339534"},"html":{"href":"https://github.com/behance/mesos-systemd/pull/40#discussion_r37339534"},"pull_request":{"href":"https://api.github.com/repos/behance/mesos-systemd/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/behance/mesos-systemd/pulls/40","id":42735139,"html_url":"https://github.com/behance/mesos-systemd/pull/40","diff_url":"https://github.com/behance/mesos-systemd/pull/40.diff","patch_url":"https://github.com/behance/mesos-systemd/pull/40.patch","issue_url":"https://api.github.com/repos/behance/mesos-systemd/issues/40","number":40,"state":"open","locked":false,"title":"Added Sumologic-control service","user":{"login":"iderdik","id":823778,"avatar_url":"https://avatars.githubusercontent.com/u/823778?v=3","gravatar_id":"","url":"https://api.github.com/users/iderdik","html_url":"https://github.com/iderdik","followers_url":"https://api.github.com/users/iderdik/followers","following_url":"https://api.github.com/users/iderdik/following{/other_user}","gists_url":"https://api.github.com/users/iderdik/gists{/gist_id}","starred_url":"https://api.github.com/users/iderdik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iderdik/subscriptions","organizations_url":"https://api.github.com/users/iderdik/orgs","repos_url":"https://api.github.com/users/iderdik/repos","events_url":"https://api.github.com/users/iderdik/events{/privacy}","received_events_url":"https://api.github.com/users/iderdik/received_events","type":"User","site_admin":false},"body":"Separates control/proxy tier logs from workers for easier searching by app name.","created_at":"2015-08-18T18:57:05Z","updated_at":"2015-08-18T19:03:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3a350dd5347e68be8ac7963ad761b9a39e7d6607","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/behance/mesos-systemd/pulls/40/commits","review_comments_url":"https://api.github.com/repos/behance/mesos-systemd/pulls/40/comments","review_comment_url":"https://api.github.com/repos/behance/mesos-systemd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/behance/mesos-systemd/issues/40/comments","statuses_url":"https://api.github.com/repos/behance/mesos-systemd/statuses/c3a600337b5299506b7997ed84c54d677587552b","head":{"label":"iderdik:sumologic","ref":"sumologic","sha":"c3a600337b5299506b7997ed84c54d677587552b","user":{"login":"iderdik","id":823778,"avatar_url":"https://avatars.githubusercontent.com/u/823778?v=3","gravatar_id":"","url":"https://api.github.com/users/iderdik","html_url":"https://github.com/iderdik","followers_url":"https://api.github.com/users/iderdik/followers","following_url":"https://api.github.com/users/iderdik/following{/other_user}","gists_url":"https://api.github.com/users/iderdik/gists{/gist_id}","starred_url":"https://api.github.com/users/iderdik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iderdik/subscriptions","organizations_url":"https://api.github.com/users/iderdik/orgs","repos_url":"https://api.github.com/users/iderdik/repos","events_url":"https://api.github.com/users/iderdik/events{/privacy}","received_events_url":"https://api.github.com/users/iderdik/received_events","type":"User","site_admin":false},"repo":{"id":39531534,"name":"mesos-systemd","full_name":"iderdik/mesos-systemd","owner":{"login":"iderdik","id":823778,"avatar_url":"https://avatars.githubusercontent.com/u/823778?v=3","gravatar_id":"","url":"https://api.github.com/users/iderdik","html_url":"https://github.com/iderdik","followers_url":"https://api.github.com/users/iderdik/followers","following_url":"https://api.github.com/users/iderdik/following{/other_user}","gists_url":"https://api.github.com/users/iderdik/gists{/gist_id}","starred_url":"https://api.github.com/users/iderdik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iderdik/subscriptions","organizations_url":"https://api.github.com/users/iderdik/orgs","repos_url":"https://api.github.com/users/iderdik/repos","events_url":"https://api.github.com/users/iderdik/events{/privacy}","received_events_url":"https://api.github.com/users/iderdik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iderdik/mesos-systemd","description":"Behance systemd scripts to run Mesos on CoreOS","fork":true,"url":"https://api.github.com/repos/iderdik/mesos-systemd","forks_url":"https://api.github.com/repos/iderdik/mesos-systemd/forks","keys_url":"https://api.github.com/repos/iderdik/mesos-systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iderdik/mesos-systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iderdik/mesos-systemd/teams","hooks_url":"https://api.github.com/repos/iderdik/mesos-systemd/hooks","issue_events_url":"https://api.github.com/repos/iderdik/mesos-systemd/issues/events{/number}","events_url":"https://api.github.com/repos/iderdik/mesos-systemd/events","assignees_url":"https://api.github.com/repos/iderdik/mesos-systemd/assignees{/user}","branches_url":"https://api.github.com/repos/iderdik/mesos-systemd/branches{/branch}","tags_url":"https://api.github.com/repos/iderdik/mesos-systemd/tags","blobs_url":"https://api.github.com/repos/iderdik/mesos-systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iderdik/mesos-systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iderdik/mesos-systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/iderdik/mesos-systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iderdik/mesos-systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/iderdik/mesos-systemd/languages","stargazers_url":"https://api.github.com/repos/iderdik/mesos-systemd/stargazers","contributors_url":"https://api.github.com/repos/iderdik/mesos-systemd/contributors","subscribers_url":"https://api.github.com/repos/iderdik/mesos-systemd/subscribers","subscription_url":"https://api.github.com/repos/iderdik/mesos-systemd/subscription","commits_url":"https://api.github.com/repos/iderdik/mesos-systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/iderdik/mesos-systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/iderdik/mesos-systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/iderdik/mesos-systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/iderdik/mesos-systemd/contents/{+path}","compare_url":"https://api.github.com/repos/iderdik/mesos-systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iderdik/mesos-systemd/merges","archive_url":"https://api.github.com/repos/iderdik/mesos-systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iderdik/mesos-systemd/downloads","issues_url":"https://api.github.com/repos/iderdik/mesos-systemd/issues{/number}","pulls_url":"https://api.github.com/repos/iderdik/mesos-systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/iderdik/mesos-systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/iderdik/mesos-systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iderdik/mesos-systemd/labels{/name}","releases_url":"https://api.github.com/repos/iderdik/mesos-systemd/releases{/id}","created_at":"2015-07-22T21:36:13Z","updated_at":"2015-07-22T21:36:13Z","pushed_at":"2015-08-18T19:02:45Z","git_url":"git://github.com/iderdik/mesos-systemd.git","ssh_url":"git@github.com:iderdik/mesos-systemd.git","clone_url":"https://github.com/iderdik/mesos-systemd.git","svn_url":"https://github.com/iderdik/mesos-systemd","homepage":null,"size":145,"stargazers_count":0,"watchers_count":0,"language":"Shell","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":"behance:master","ref":"master","sha":"e76ca7499570ef6b746df6cb9a2120963e2cf0b7","user":{"login":"behance","id":1197743,"avatar_url":"https://avatars.githubusercontent.com/u/1197743?v=3","gravatar_id":"","url":"https://api.github.com/users/behance","html_url":"https://github.com/behance","followers_url":"https://api.github.com/users/behance/followers","following_url":"https://api.github.com/users/behance/following{/other_user}","gists_url":"https://api.github.com/users/behance/gists{/gist_id}","starred_url":"https://api.github.com/users/behance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behance/subscriptions","organizations_url":"https://api.github.com/users/behance/orgs","repos_url":"https://api.github.com/users/behance/repos","events_url":"https://api.github.com/users/behance/events{/privacy}","received_events_url":"https://api.github.com/users/behance/received_events","type":"Organization","site_admin":false},"repo":{"id":35570054,"name":"mesos-systemd","full_name":"behance/mesos-systemd","owner":{"login":"behance","id":1197743,"avatar_url":"https://avatars.githubusercontent.com/u/1197743?v=3","gravatar_id":"","url":"https://api.github.com/users/behance","html_url":"https://github.com/behance","followers_url":"https://api.github.com/users/behance/followers","following_url":"https://api.github.com/users/behance/following{/other_user}","gists_url":"https://api.github.com/users/behance/gists{/gist_id}","starred_url":"https://api.github.com/users/behance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/behance/subscriptions","organizations_url":"https://api.github.com/users/behance/orgs","repos_url":"https://api.github.com/users/behance/repos","events_url":"https://api.github.com/users/behance/events{/privacy}","received_events_url":"https://api.github.com/users/behance/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/behance/mesos-systemd","description":"Behance systemd scripts to run Mesos on CoreOS","fork":false,"url":"https://api.github.com/repos/behance/mesos-systemd","forks_url":"https://api.github.com/repos/behance/mesos-systemd/forks","keys_url":"https://api.github.com/repos/behance/mesos-systemd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/behance/mesos-systemd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/behance/mesos-systemd/teams","hooks_url":"https://api.github.com/repos/behance/mesos-systemd/hooks","issue_events_url":"https://api.github.com/repos/behance/mesos-systemd/issues/events{/number}","events_url":"https://api.github.com/repos/behance/mesos-systemd/events","assignees_url":"https://api.github.com/repos/behance/mesos-systemd/assignees{/user}","branches_url":"https://api.github.com/repos/behance/mesos-systemd/branches{/branch}","tags_url":"https://api.github.com/repos/behance/mesos-systemd/tags","blobs_url":"https://api.github.com/repos/behance/mesos-systemd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/behance/mesos-systemd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/behance/mesos-systemd/git/refs{/sha}","trees_url":"https://api.github.com/repos/behance/mesos-systemd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/behance/mesos-systemd/statuses/{sha}","languages_url":"https://api.github.com/repos/behance/mesos-systemd/languages","stargazers_url":"https://api.github.com/repos/behance/mesos-systemd/stargazers","contributors_url":"https://api.github.com/repos/behance/mesos-systemd/contributors","subscribers_url":"https://api.github.com/repos/behance/mesos-systemd/subscribers","subscription_url":"https://api.github.com/repos/behance/mesos-systemd/subscription","commits_url":"https://api.github.com/repos/behance/mesos-systemd/commits{/sha}","git_commits_url":"https://api.github.com/repos/behance/mesos-systemd/git/commits{/sha}","comments_url":"https://api.github.com/repos/behance/mesos-systemd/comments{/number}","issue_comment_url":"https://api.github.com/repos/behance/mesos-systemd/issues/comments{/number}","contents_url":"https://api.github.com/repos/behance/mesos-systemd/contents/{+path}","compare_url":"https://api.github.com/repos/behance/mesos-systemd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/behance/mesos-systemd/merges","archive_url":"https://api.github.com/repos/behance/mesos-systemd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/behance/mesos-systemd/downloads","issues_url":"https://api.github.com/repos/behance/mesos-systemd/issues{/number}","pulls_url":"https://api.github.com/repos/behance/mesos-systemd/pulls{/number}","milestones_url":"https://api.github.com/repos/behance/mesos-systemd/milestones{/number}","notifications_url":"https://api.github.com/repos/behance/mesos-systemd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/behance/mesos-systemd/labels{/name}","releases_url":"https://api.github.com/repos/behance/mesos-systemd/releases{/id}","created_at":"2015-05-13T19:31:57Z","updated_at":"2015-05-20T14:39:01Z","pushed_at":"2015-08-18T19:02:45Z","git_url":"git://github.com/behance/mesos-systemd.git","ssh_url":"git@github.com:behance/mesos-systemd.git","clone_url":"https://github.com/behance/mesos-systemd.git","svn_url":"https://github.com/behance/mesos-systemd","homepage":null,"size":432,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/behance/mesos-systemd/pulls/40"},"html":{"href":"https://github.com/behance/mesos-systemd/pull/40"},"issue":{"href":"https://api.github.com/repos/behance/mesos-systemd/issues/40"},"comments":{"href":"https://api.github.com/repos/behance/mesos-systemd/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/behance/mesos-systemd/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/behance/mesos-systemd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/behance/mesos-systemd/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/behance/mesos-systemd/statuses/c3a600337b5299506b7997ed84c54d677587552b"}}}}