{"action":"created","comment":{"url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/comments/37308312","id":37308312,"diff_hunk":"@@ -0,0 +1,50 @@\n+#!/bin/bash\n+\n+set -e\n+set -u\n+set -x\n+\n+CRON_SCHEDULE=\"*/2 * * * * /var/vcap/jobs/curator/bin/purge_logs\"\n+CRON_STATUS=`pgrep cron | wc -l`\n+\n+source /var/vcap/jobs/curator/helpers/ctl_setup.sh 'curator'\n+\n+case $1 in\n+  start)\n+    if [ $CRON_STATUS -eq 0 ]; then\n+      /usr/sbin/cron start","path":"jobs/curator/templates/bin/curator_ctl","position":15,"original_position":15,"commit_id":"3c231bd04675d9013baa141cd607de5c58279ec7","original_commit_id":"3c231bd04675d9013baa141cd607de5c58279ec7","user":{"login":"dpb587","id":207601,"avatar_url":"https://avatars.githubusercontent.com/u/207601?v=3","gravatar_id":"","url":"https://api.github.com/users/dpb587","html_url":"https://github.com/dpb587","followers_url":"https://api.github.com/users/dpb587/followers","following_url":"https://api.github.com/users/dpb587/following{/other_user}","gists_url":"https://api.github.com/users/dpb587/gists{/gist_id}","starred_url":"https://api.github.com/users/dpb587/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpb587/subscriptions","organizations_url":"https://api.github.com/users/dpb587/orgs","repos_url":"https://api.github.com/users/dpb587/repos","events_url":"https://api.github.com/users/dpb587/events{/privacy}","received_events_url":"https://api.github.com/users/dpb587/received_events","type":"User","site_admin":false},"body":"Interesting - wasn't aware of that issue. Thanks for explaining. I guess it'll be easiest to leave it for now, then.","created_at":"2015-08-18T14:58:05Z","updated_at":"2015-08-18T14:58:05Z","html_url":"https://github.com/logsearch/logsearch-boshrelease/pull/170#discussion_r37308312","pull_request_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/170","_links":{"self":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/comments/37308312"},"html":{"href":"https://github.com/logsearch/logsearch-boshrelease/pull/170#discussion_r37308312"},"pull_request":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/170"}}},"pull_request":{"url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/170","id":42615029,"html_url":"https://github.com/logsearch/logsearch-boshrelease/pull/170","diff_url":"https://github.com/logsearch/logsearch-boshrelease/pull/170.diff","patch_url":"https://github.com/logsearch/logsearch-boshrelease/pull/170.patch","issue_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/issues/170","number":170,"state":"open","locked":false,"title":"Curator setup as a bosh job","user":{"login":"cloud-dude","id":8109652,"avatar_url":"https://avatars.githubusercontent.com/u/8109652?v=3","gravatar_id":"","url":"https://api.github.com/users/cloud-dude","html_url":"https://github.com/cloud-dude","followers_url":"https://api.github.com/users/cloud-dude/followers","following_url":"https://api.github.com/users/cloud-dude/following{/other_user}","gists_url":"https://api.github.com/users/cloud-dude/gists{/gist_id}","starred_url":"https://api.github.com/users/cloud-dude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloud-dude/subscriptions","organizations_url":"https://api.github.com/users/cloud-dude/orgs","repos_url":"https://api.github.com/users/cloud-dude/repos","events_url":"https://api.github.com/users/cloud-dude/events{/privacy}","received_events_url":"https://api.github.com/users/cloud-dude/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-17T17:52:02Z","updated_at":"2015-08-18T14:58:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87482c02092e26eeaa5d4eae54c7aac633c6514e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/170/commits","review_comments_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/170/comments","review_comment_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/comments{/number}","comments_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/issues/170/comments","statuses_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/statuses/3c231bd04675d9013baa141cd607de5c58279ec7","head":{"label":"compozed:develop","ref":"develop","sha":"3c231bd04675d9013baa141cd607de5c58279ec7","user":{"login":"compozed","id":12916770,"avatar_url":"https://avatars.githubusercontent.com/u/12916770?v=3","gravatar_id":"","url":"https://api.github.com/users/compozed","html_url":"https://github.com/compozed","followers_url":"https://api.github.com/users/compozed/followers","following_url":"https://api.github.com/users/compozed/following{/other_user}","gists_url":"https://api.github.com/users/compozed/gists{/gist_id}","starred_url":"https://api.github.com/users/compozed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compozed/subscriptions","organizations_url":"https://api.github.com/users/compozed/orgs","repos_url":"https://api.github.com/users/compozed/repos","events_url":"https://api.github.com/users/compozed/events{/privacy}","received_events_url":"https://api.github.com/users/compozed/received_events","type":"Organization","site_admin":false},"repo":{"id":38696871,"name":"logsearch-boshrelease","full_name":"compozed/logsearch-boshrelease","owner":{"login":"compozed","id":12916770,"avatar_url":"https://avatars.githubusercontent.com/u/12916770?v=3","gravatar_id":"","url":"https://api.github.com/users/compozed","html_url":"https://github.com/compozed","followers_url":"https://api.github.com/users/compozed/followers","following_url":"https://api.github.com/users/compozed/following{/other_user}","gists_url":"https://api.github.com/users/compozed/gists{/gist_id}","starred_url":"https://api.github.com/users/compozed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/compozed/subscriptions","organizations_url":"https://api.github.com/users/compozed/orgs","repos_url":"https://api.github.com/users/compozed/repos","events_url":"https://api.github.com/users/compozed/events{/privacy}","received_events_url":"https://api.github.com/users/compozed/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/compozed/logsearch-boshrelease","description":"A BOSH-scalable Elasticsearch+Logstash+Kibana release","fork":true,"url":"https://api.github.com/repos/compozed/logsearch-boshrelease","forks_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/forks","keys_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/teams","hooks_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/hooks","issue_events_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/issues/events{/number}","events_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/events","assignees_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/assignees{/user}","branches_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/branches{/branch}","tags_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/tags","blobs_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/git/refs{/sha}","trees_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/statuses/{sha}","languages_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/languages","stargazers_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/stargazers","contributors_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/contributors","subscribers_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/subscribers","subscription_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/subscription","commits_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/commits{/sha}","git_commits_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/git/commits{/sha}","comments_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/comments{/number}","issue_comment_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/issues/comments{/number}","contents_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/contents/{+path}","compare_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/merges","archive_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/downloads","issues_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/issues{/number}","pulls_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/pulls{/number}","milestones_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/milestones{/number}","notifications_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/labels{/name}","releases_url":"https://api.github.com/repos/compozed/logsearch-boshrelease/releases{/id}","created_at":"2015-07-07T15:29:43Z","updated_at":"2015-07-07T15:29:43Z","pushed_at":"2015-08-17T17:48:10Z","git_url":"git://github.com/compozed/logsearch-boshrelease.git","ssh_url":"git@github.com:compozed/logsearch-boshrelease.git","clone_url":"https://github.com/compozed/logsearch-boshrelease.git","svn_url":"https://github.com/compozed/logsearch-boshrelease","homepage":"http://www.logsearch.io","size":25380,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"logsearch:develop","ref":"develop","sha":"a3d92304159f0e093b6ab86567919c2f0b3fb62a","user":{"login":"logsearch","id":6453174,"avatar_url":"https://avatars.githubusercontent.com/u/6453174?v=3","gravatar_id":"","url":"https://api.github.com/users/logsearch","html_url":"https://github.com/logsearch","followers_url":"https://api.github.com/users/logsearch/followers","following_url":"https://api.github.com/users/logsearch/following{/other_user}","gists_url":"https://api.github.com/users/logsearch/gists{/gist_id}","starred_url":"https://api.github.com/users/logsearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logsearch/subscriptions","organizations_url":"https://api.github.com/users/logsearch/orgs","repos_url":"https://api.github.com/users/logsearch/repos","events_url":"https://api.github.com/users/logsearch/events{/privacy}","received_events_url":"https://api.github.com/users/logsearch/received_events","type":"Organization","site_admin":false},"repo":{"id":16431092,"name":"logsearch-boshrelease","full_name":"logsearch/logsearch-boshrelease","owner":{"login":"logsearch","id":6453174,"avatar_url":"https://avatars.githubusercontent.com/u/6453174?v=3","gravatar_id":"","url":"https://api.github.com/users/logsearch","html_url":"https://github.com/logsearch","followers_url":"https://api.github.com/users/logsearch/followers","following_url":"https://api.github.com/users/logsearch/following{/other_user}","gists_url":"https://api.github.com/users/logsearch/gists{/gist_id}","starred_url":"https://api.github.com/users/logsearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/logsearch/subscriptions","organizations_url":"https://api.github.com/users/logsearch/orgs","repos_url":"https://api.github.com/users/logsearch/repos","events_url":"https://api.github.com/users/logsearch/events{/privacy}","received_events_url":"https://api.github.com/users/logsearch/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/logsearch/logsearch-boshrelease","description":"A BOSH-scalable Elasticsearch+Logstash+Kibana release","fork":false,"url":"https://api.github.com/repos/logsearch/logsearch-boshrelease","forks_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/forks","keys_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/keys{/key_id}","collaborators_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/teams","hooks_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/hooks","issue_events_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/issues/events{/number}","events_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/events","assignees_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/assignees{/user}","branches_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/branches{/branch}","tags_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/tags","blobs_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/git/refs{/sha}","trees_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/git/trees{/sha}","statuses_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/statuses/{sha}","languages_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/languages","stargazers_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/stargazers","contributors_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/contributors","subscribers_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/subscribers","subscription_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/subscription","commits_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/commits{/sha}","git_commits_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/git/commits{/sha}","comments_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/comments{/number}","issue_comment_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/issues/comments{/number}","contents_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/contents/{+path}","compare_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/compare/{base}...{head}","merges_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/merges","archive_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/downloads","issues_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/issues{/number}","pulls_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls{/number}","milestones_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/milestones{/number}","notifications_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/labels{/name}","releases_url":"https://api.github.com/repos/logsearch/logsearch-boshrelease/releases{/id}","created_at":"2014-02-01T08:59:27Z","updated_at":"2015-08-18T05:04:29Z","pushed_at":"2015-08-17T17:52:02Z","git_url":"git://github.com/logsearch/logsearch-boshrelease.git","ssh_url":"git@github.com:logsearch/logsearch-boshrelease.git","clone_url":"https://github.com/logsearch/logsearch-boshrelease.git","svn_url":"https://github.com/logsearch/logsearch-boshrelease","homepage":"http://www.logsearch.io","size":12643,"stargazers_count":35,"watchers_count":35,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":12,"forks":28,"open_issues":12,"watchers":35,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/170"},"html":{"href":"https://github.com/logsearch/logsearch-boshrelease/pull/170"},"issue":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/issues/170"},"comments":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/issues/170/comments"},"review_comments":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/170/comments"},"review_comment":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/pulls/170/commits"},"statuses":{"href":"https://api.github.com/repos/logsearch/logsearch-boshrelease/statuses/3c231bd04675d9013baa141cd607de5c58279ec7"}}}}