{"action":"created","comment":{"url":"https://api.github.com/repos/amataku/key-notify-hard/pulls/comments/187569591","pull_request_review_id":119377033,"id":187569591,"diff_hunk":"@@ -0,0 +1,8 @@\n+# search process 'key_notify'\n+_pcnt=`pgrep -fo key_notify | wc -l`\n+\n+# if first process => start system\n+if [ ${_pcnt} = 0 ]; then","path":"start_notify.sh","position":5,"original_position":5,"commit_id":"af5ce7514731247074e3c1d66cd2a1e25e8a1fdd","original_commit_id":"af5ce7514731247074e3c1d66cd2a1e25e8a1fdd","user":{"login":"amataku","id":19948719,"avatar_url":"https://avatars3.githubusercontent.com/u/19948719?v=4","gravatar_id":"","url":"https://api.github.com/users/amataku","html_url":"https://github.com/amataku","followers_url":"https://api.github.com/users/amataku/followers","following_url":"https://api.github.com/users/amataku/following{/other_user}","gists_url":"https://api.github.com/users/amataku/gists{/gist_id}","starred_url":"https://api.github.com/users/amataku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amataku/subscriptions","organizations_url":"https://api.github.com/users/amataku/orgs","repos_url":"https://api.github.com/users/amataku/repos","events_url":"https://api.github.com/users/amataku/events{/privacy}","received_events_url":"https://api.github.com/users/amataku/received_events","type":"User","site_admin":false},"body":"変更しました","created_at":"2018-05-11T09:47:04Z","updated_at":"2018-05-11T09:47:04Z","html_url":"https://github.com/amataku/key-notify-hard/pull/3#discussion_r187569591","pull_request_url":"https://api.github.com/repos/amataku/key-notify-hard/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/amataku/key-notify-hard/pulls/comments/187569591"},"html":{"href":"https://github.com/amataku/key-notify-hard/pull/3#discussion_r187569591"},"pull_request":{"href":"https://api.github.com/repos/amataku/key-notify-hard/pulls/3"}},"in_reply_to_id":187566084},"pull_request":{"url":"https://api.github.com/repos/amataku/key-notify-hard/pulls/3","id":187409260,"html_url":"https://github.com/amataku/key-notify-hard/pull/3","diff_url":"https://github.com/amataku/key-notify-hard/pull/3.diff","patch_url":"https://github.com/amataku/key-notify-hard/pull/3.patch","issue_url":"https://api.github.com/repos/amataku/key-notify-hard/issues/3","number":3,"state":"open","locked":false,"title":"ファイルの再配置とコメントの追加","user":{"login":"amataku","id":19948719,"avatar_url":"https://avatars3.githubusercontent.com/u/19948719?v=4","gravatar_id":"","url":"https://api.github.com/users/amataku","html_url":"https://github.com/amataku","followers_url":"https://api.github.com/users/amataku/followers","following_url":"https://api.github.com/users/amataku/following{/other_user}","gists_url":"https://api.github.com/users/amataku/gists{/gist_id}","starred_url":"https://api.github.com/users/amataku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amataku/subscriptions","organizations_url":"https://api.github.com/users/amataku/orgs","repos_url":"https://api.github.com/users/amataku/repos","events_url":"https://api.github.com/users/amataku/events{/privacy}","received_events_url":"https://api.github.com/users/amataku/received_events","type":"User","site_admin":false},"body":"## やったこと\r\n* ファイルの再配置\r\n* ファイル名の変更\r\n* プログラムへのコメントの追加\r\n* 実行を行うシェルスクリプトの記述(二重実行禁止処理付き)\r\n## やらなかったこと\r\n* 特になし\r\n\r\n","created_at":"2018-05-11T09:16:46Z","updated_at":"2018-05-11T09:47:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6fa7f6c85cbafacec6df625f32e8b4da2bb212c6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/amataku/key-notify-hard/pulls/3/commits","review_comments_url":"https://api.github.com/repos/amataku/key-notify-hard/pulls/3/comments","review_comment_url":"https://api.github.com/repos/amataku/key-notify-hard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amataku/key-notify-hard/issues/3/comments","statuses_url":"https://api.github.com/repos/amataku/key-notify-hard/statuses/af5ce7514731247074e3c1d66cd2a1e25e8a1fdd","head":{"label":"amataku:relocate","ref":"relocate","sha":"af5ce7514731247074e3c1d66cd2a1e25e8a1fdd","user":{"login":"amataku","id":19948719,"avatar_url":"https://avatars3.githubusercontent.com/u/19948719?v=4","gravatar_id":"","url":"https://api.github.com/users/amataku","html_url":"https://github.com/amataku","followers_url":"https://api.github.com/users/amataku/followers","following_url":"https://api.github.com/users/amataku/following{/other_user}","gists_url":"https://api.github.com/users/amataku/gists{/gist_id}","starred_url":"https://api.github.com/users/amataku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amataku/subscriptions","organizations_url":"https://api.github.com/users/amataku/orgs","repos_url":"https://api.github.com/users/amataku/repos","events_url":"https://api.github.com/users/amataku/events{/privacy}","received_events_url":"https://api.github.com/users/amataku/received_events","type":"User","site_admin":false},"repo":{"id":110514984,"name":"key-notify-hard","full_name":"amataku/key-notify-hard","owner":{"login":"amataku","id":19948719,"avatar_url":"https://avatars3.githubusercontent.com/u/19948719?v=4","gravatar_id":"","url":"https://api.github.com/users/amataku","html_url":"https://github.com/amataku","followers_url":"https://api.github.com/users/amataku/followers","following_url":"https://api.github.com/users/amataku/following{/other_user}","gists_url":"https://api.github.com/users/amataku/gists{/gist_id}","starred_url":"https://api.github.com/users/amataku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amataku/subscriptions","organizations_url":"https://api.github.com/users/amataku/orgs","repos_url":"https://api.github.com/users/amataku/repos","events_url":"https://api.github.com/users/amataku/events{/privacy}","received_events_url":"https://api.github.com/users/amataku/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amataku/key-notify-hard","description":"鯖室の鍵情報を管理するソリューション","fork":false,"url":"https://api.github.com/repos/amataku/key-notify-hard","forks_url":"https://api.github.com/repos/amataku/key-notify-hard/forks","keys_url":"https://api.github.com/repos/amataku/key-notify-hard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amataku/key-notify-hard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amataku/key-notify-hard/teams","hooks_url":"https://api.github.com/repos/amataku/key-notify-hard/hooks","issue_events_url":"https://api.github.com/repos/amataku/key-notify-hard/issues/events{/number}","events_url":"https://api.github.com/repos/amataku/key-notify-hard/events","assignees_url":"https://api.github.com/repos/amataku/key-notify-hard/assignees{/user}","branches_url":"https://api.github.com/repos/amataku/key-notify-hard/branches{/branch}","tags_url":"https://api.github.com/repos/amataku/key-notify-hard/tags","blobs_url":"https://api.github.com/repos/amataku/key-notify-hard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amataku/key-notify-hard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amataku/key-notify-hard/git/refs{/sha}","trees_url":"https://api.github.com/repos/amataku/key-notify-hard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amataku/key-notify-hard/statuses/{sha}","languages_url":"https://api.github.com/repos/amataku/key-notify-hard/languages","stargazers_url":"https://api.github.com/repos/amataku/key-notify-hard/stargazers","contributors_url":"https://api.github.com/repos/amataku/key-notify-hard/contributors","subscribers_url":"https://api.github.com/repos/amataku/key-notify-hard/subscribers","subscription_url":"https://api.github.com/repos/amataku/key-notify-hard/subscription","commits_url":"https://api.github.com/repos/amataku/key-notify-hard/commits{/sha}","git_commits_url":"https://api.github.com/repos/amataku/key-notify-hard/git/commits{/sha}","comments_url":"https://api.github.com/repos/amataku/key-notify-hard/comments{/number}","issue_comment_url":"https://api.github.com/repos/amataku/key-notify-hard/issues/comments{/number}","contents_url":"https://api.github.com/repos/amataku/key-notify-hard/contents/{+path}","compare_url":"https://api.github.com/repos/amataku/key-notify-hard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amataku/key-notify-hard/merges","archive_url":"https://api.github.com/repos/amataku/key-notify-hard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amataku/key-notify-hard/downloads","issues_url":"https://api.github.com/repos/amataku/key-notify-hard/issues{/number}","pulls_url":"https://api.github.com/repos/amataku/key-notify-hard/pulls{/number}","milestones_url":"https://api.github.com/repos/amataku/key-notify-hard/milestones{/number}","notifications_url":"https://api.github.com/repos/amataku/key-notify-hard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amataku/key-notify-hard/labels{/name}","releases_url":"https://api.github.com/repos/amataku/key-notify-hard/releases{/id}","deployments_url":"https://api.github.com/repos/amataku/key-notify-hard/deployments","created_at":"2017-11-13T07:34:14Z","updated_at":"2018-05-11T06:07:23Z","pushed_at":"2018-05-11T09:16:47Z","git_url":"git://github.com/amataku/key-notify-hard.git","ssh_url":"git@github.com:amataku/key-notify-hard.git","clone_url":"https://github.com/amataku/key-notify-hard.git","svn_url":"https://github.com/amataku/key-notify-hard","homepage":"","size":9,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"amataku:master","ref":"master","sha":"8cbcbb1a92829abdd674297849fbd3cd897722a9","user":{"login":"amataku","id":19948719,"avatar_url":"https://avatars3.githubusercontent.com/u/19948719?v=4","gravatar_id":"","url":"https://api.github.com/users/amataku","html_url":"https://github.com/amataku","followers_url":"https://api.github.com/users/amataku/followers","following_url":"https://api.github.com/users/amataku/following{/other_user}","gists_url":"https://api.github.com/users/amataku/gists{/gist_id}","starred_url":"https://api.github.com/users/amataku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amataku/subscriptions","organizations_url":"https://api.github.com/users/amataku/orgs","repos_url":"https://api.github.com/users/amataku/repos","events_url":"https://api.github.com/users/amataku/events{/privacy}","received_events_url":"https://api.github.com/users/amataku/received_events","type":"User","site_admin":false},"repo":{"id":110514984,"name":"key-notify-hard","full_name":"amataku/key-notify-hard","owner":{"login":"amataku","id":19948719,"avatar_url":"https://avatars3.githubusercontent.com/u/19948719?v=4","gravatar_id":"","url":"https://api.github.com/users/amataku","html_url":"https://github.com/amataku","followers_url":"https://api.github.com/users/amataku/followers","following_url":"https://api.github.com/users/amataku/following{/other_user}","gists_url":"https://api.github.com/users/amataku/gists{/gist_id}","starred_url":"https://api.github.com/users/amataku/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amataku/subscriptions","organizations_url":"https://api.github.com/users/amataku/orgs","repos_url":"https://api.github.com/users/amataku/repos","events_url":"https://api.github.com/users/amataku/events{/privacy}","received_events_url":"https://api.github.com/users/amataku/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/amataku/key-notify-hard","description":"鯖室の鍵情報を管理するソリューション","fork":false,"url":"https://api.github.com/repos/amataku/key-notify-hard","forks_url":"https://api.github.com/repos/amataku/key-notify-hard/forks","keys_url":"https://api.github.com/repos/amataku/key-notify-hard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amataku/key-notify-hard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amataku/key-notify-hard/teams","hooks_url":"https://api.github.com/repos/amataku/key-notify-hard/hooks","issue_events_url":"https://api.github.com/repos/amataku/key-notify-hard/issues/events{/number}","events_url":"https://api.github.com/repos/amataku/key-notify-hard/events","assignees_url":"https://api.github.com/repos/amataku/key-notify-hard/assignees{/user}","branches_url":"https://api.github.com/repos/amataku/key-notify-hard/branches{/branch}","tags_url":"https://api.github.com/repos/amataku/key-notify-hard/tags","blobs_url":"https://api.github.com/repos/amataku/key-notify-hard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amataku/key-notify-hard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amataku/key-notify-hard/git/refs{/sha}","trees_url":"https://api.github.com/repos/amataku/key-notify-hard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amataku/key-notify-hard/statuses/{sha}","languages_url":"https://api.github.com/repos/amataku/key-notify-hard/languages","stargazers_url":"https://api.github.com/repos/amataku/key-notify-hard/stargazers","contributors_url":"https://api.github.com/repos/amataku/key-notify-hard/contributors","subscribers_url":"https://api.github.com/repos/amataku/key-notify-hard/subscribers","subscription_url":"https://api.github.com/repos/amataku/key-notify-hard/subscription","commits_url":"https://api.github.com/repos/amataku/key-notify-hard/commits{/sha}","git_commits_url":"https://api.github.com/repos/amataku/key-notify-hard/git/commits{/sha}","comments_url":"https://api.github.com/repos/amataku/key-notify-hard/comments{/number}","issue_comment_url":"https://api.github.com/repos/amataku/key-notify-hard/issues/comments{/number}","contents_url":"https://api.github.com/repos/amataku/key-notify-hard/contents/{+path}","compare_url":"https://api.github.com/repos/amataku/key-notify-hard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amataku/key-notify-hard/merges","archive_url":"https://api.github.com/repos/amataku/key-notify-hard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amataku/key-notify-hard/downloads","issues_url":"https://api.github.com/repos/amataku/key-notify-hard/issues{/number}","pulls_url":"https://api.github.com/repos/amataku/key-notify-hard/pulls{/number}","milestones_url":"https://api.github.com/repos/amataku/key-notify-hard/milestones{/number}","notifications_url":"https://api.github.com/repos/amataku/key-notify-hard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amataku/key-notify-hard/labels{/name}","releases_url":"https://api.github.com/repos/amataku/key-notify-hard/releases{/id}","deployments_url":"https://api.github.com/repos/amataku/key-notify-hard/deployments","created_at":"2017-11-13T07:34:14Z","updated_at":"2018-05-11T06:07:23Z","pushed_at":"2018-05-11T09:16:47Z","git_url":"git://github.com/amataku/key-notify-hard.git","ssh_url":"git@github.com:amataku/key-notify-hard.git","clone_url":"https://github.com/amataku/key-notify-hard.git","svn_url":"https://github.com/amataku/key-notify-hard","homepage":"","size":9,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amataku/key-notify-hard/pulls/3"},"html":{"href":"https://github.com/amataku/key-notify-hard/pull/3"},"issue":{"href":"https://api.github.com/repos/amataku/key-notify-hard/issues/3"},"comments":{"href":"https://api.github.com/repos/amataku/key-notify-hard/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/amataku/key-notify-hard/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/amataku/key-notify-hard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amataku/key-notify-hard/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/amataku/key-notify-hard/statuses/af5ce7514731247074e3c1d66cd2a1e25e8a1fdd"}},"author_association":"OWNER"}}
{"actor":{"display_login":"amataku"}}