{"action":"created","comment":{"url":"https://api.github.com/repos/coreos/docs/pulls/comments/24437283","id":24437283,"diff_hunk":"@@ -113,21 +115,53 @@ A timeframe in which to update can be specified by using two systemd units, a ve\n Description=Reboot if an update has been downloaded\n \n [Service]\n-ExecStart=/usr/bin/bash -c 'if update_engine_client -status | grep NEED_REBOOT; then reboot; fi'\n+ExecStart=/usr/bin/bash /opt/bin/update-window.sh\n ```\n \n #### update-window.timer\n \n ```yaml\n [Unit]\n-Description=Reboot if needed at 05:00 daily\n+Description=Reboot timer\n \n [Timer]\n-OnCalendar=*-*-* 05:00:00\n-```\n+OnCalendar=*-*-* 05,06:10/20:00","path":"cluster-management/setup/update-strategies/index.md","position":27,"original_position":27,"commit_id":"8c4ce1fdd767eee04d317f1073d044492bbfe800","original_commit_id":"8c4ce1fdd767eee04d317f1073d044492bbfe800","user":{"login":"crawford","id":368848,"avatar_url":"https://avatars.githubusercontent.com/u/368848?v=3","gravatar_id":"","url":"https://api.github.com/users/crawford","html_url":"https://github.com/crawford","followers_url":"https://api.github.com/users/crawford/followers","following_url":"https://api.github.com/users/crawford/following{/other_user}","gists_url":"https://api.github.com/users/crawford/gists{/gist_id}","starred_url":"https://api.github.com/users/crawford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/crawford/subscriptions","organizations_url":"https://api.github.com/users/crawford/orgs","repos_url":"https://api.github.com/users/crawford/repos","events_url":"https://api.github.com/users/crawford/events{/privacy}","received_events_url":"https://api.github.com/users/crawford/received_events","type":"User","site_admin":false},"body":"For simplicity, can you leave this as 05:00:00?","created_at":"2015-02-10T18:36:31Z","updated_at":"2015-02-10T18:36:31Z","html_url":"https://github.com/coreos/docs/pull/429#discussion_r24437283","pull_request_url":"https://api.github.com/repos/coreos/docs/pulls/429","_links":{"self":{"href":"https://api.github.com/repos/coreos/docs/pulls/comments/24437283"},"html":{"href":"https://github.com/coreos/docs/pull/429#discussion_r24437283"},"pull_request":{"href":"https://api.github.com/repos/coreos/docs/pulls/429"}}},"pull_request":{"url":"https://api.github.com/repos/coreos/docs/pulls/429","id":28988413,"html_url":"https://github.com/coreos/docs/pull/429","diff_url":"https://github.com/coreos/docs/pull/429.diff","patch_url":"https://github.com/coreos/docs/pull/429.patch","issue_url":"https://api.github.com/repos/coreos/docs/issues/429","number":429,"state":"open","locked":false,"title":"PR for updating cluster-management/setup/update-strategies/index.md. See issue #428","user":{"login":"xueshanf","id":4178225,"avatar_url":"https://avatars.githubusercontent.com/u/4178225?v=3","gravatar_id":"","url":"https://api.github.com/users/xueshanf","html_url":"https://github.com/xueshanf","followers_url":"https://api.github.com/users/xueshanf/followers","following_url":"https://api.github.com/users/xueshanf/following{/other_user}","gists_url":"https://api.github.com/users/xueshanf/gists{/gist_id}","starred_url":"https://api.github.com/users/xueshanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xueshanf/subscriptions","organizations_url":"https://api.github.com/users/xueshanf/orgs","repos_url":"https://api.github.com/users/xueshanf/repos","events_url":"https://api.github.com/users/xueshanf/events{/privacy}","received_events_url":"https://api.github.com/users/xueshanf/received_events","type":"User","site_admin":false},"body":"Use a script in maintenance window for reboot update. If etcd is running, use locksmith reboot and retry every 20 minutes starting 5:10 a.m. every 20 minutes until 6:50 a.m. to avoid missing update window. If etcd is not running, simply reboot after a random delay.","created_at":"2015-02-10T08:25:43Z","updated_at":"2015-02-10T18:36:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"45b87614de27e2307d91c13f17d8bc0cdadfe2f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/coreos/docs/pulls/429/commits","review_comments_url":"https://api.github.com/repos/coreos/docs/pulls/429/comments","review_comment_url":"https://api.github.com/repos/coreos/docs/pulls/comments/{number}","comments_url":"https://api.github.com/repos/coreos/docs/issues/429/comments","statuses_url":"https://api.github.com/repos/coreos/docs/statuses/8c4ce1fdd767eee04d317f1073d044492bbfe800","head":{"label":"xueshanf:master","ref":"master","sha":"8c4ce1fdd767eee04d317f1073d044492bbfe800","user":{"login":"xueshanf","id":4178225,"avatar_url":"https://avatars.githubusercontent.com/u/4178225?v=3","gravatar_id":"","url":"https://api.github.com/users/xueshanf","html_url":"https://github.com/xueshanf","followers_url":"https://api.github.com/users/xueshanf/followers","following_url":"https://api.github.com/users/xueshanf/following{/other_user}","gists_url":"https://api.github.com/users/xueshanf/gists{/gist_id}","starred_url":"https://api.github.com/users/xueshanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xueshanf/subscriptions","organizations_url":"https://api.github.com/users/xueshanf/orgs","repos_url":"https://api.github.com/users/xueshanf/repos","events_url":"https://api.github.com/users/xueshanf/events{/privacy}","received_events_url":"https://api.github.com/users/xueshanf/received_events","type":"User","site_admin":false},"repo":{"id":30578843,"name":"docs","full_name":"xueshanf/docs","owner":{"login":"xueshanf","id":4178225,"avatar_url":"https://avatars.githubusercontent.com/u/4178225?v=3","gravatar_id":"","url":"https://api.github.com/users/xueshanf","html_url":"https://github.com/xueshanf","followers_url":"https://api.github.com/users/xueshanf/followers","following_url":"https://api.github.com/users/xueshanf/following{/other_user}","gists_url":"https://api.github.com/users/xueshanf/gists{/gist_id}","starred_url":"https://api.github.com/users/xueshanf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xueshanf/subscriptions","organizations_url":"https://api.github.com/users/xueshanf/orgs","repos_url":"https://api.github.com/users/xueshanf/repos","events_url":"https://api.github.com/users/xueshanf/events{/privacy}","received_events_url":"https://api.github.com/users/xueshanf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xueshanf/docs","description":"Documentation for CoreOS in markdown","fork":true,"url":"https://api.github.com/repos/xueshanf/docs","forks_url":"https://api.github.com/repos/xueshanf/docs/forks","keys_url":"https://api.github.com/repos/xueshanf/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xueshanf/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xueshanf/docs/teams","hooks_url":"https://api.github.com/repos/xueshanf/docs/hooks","issue_events_url":"https://api.github.com/repos/xueshanf/docs/issues/events{/number}","events_url":"https://api.github.com/repos/xueshanf/docs/events","assignees_url":"https://api.github.com/repos/xueshanf/docs/assignees{/user}","branches_url":"https://api.github.com/repos/xueshanf/docs/branches{/branch}","tags_url":"https://api.github.com/repos/xueshanf/docs/tags","blobs_url":"https://api.github.com/repos/xueshanf/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xueshanf/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xueshanf/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/xueshanf/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xueshanf/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/xueshanf/docs/languages","stargazers_url":"https://api.github.com/repos/xueshanf/docs/stargazers","contributors_url":"https://api.github.com/repos/xueshanf/docs/contributors","subscribers_url":"https://api.github.com/repos/xueshanf/docs/subscribers","subscription_url":"https://api.github.com/repos/xueshanf/docs/subscription","commits_url":"https://api.github.com/repos/xueshanf/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/xueshanf/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/xueshanf/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/xueshanf/docs/issues/comments/{number}","contents_url":"https://api.github.com/repos/xueshanf/docs/contents/{+path}","compare_url":"https://api.github.com/repos/xueshanf/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xueshanf/docs/merges","archive_url":"https://api.github.com/repos/xueshanf/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xueshanf/docs/downloads","issues_url":"https://api.github.com/repos/xueshanf/docs/issues{/number}","pulls_url":"https://api.github.com/repos/xueshanf/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/xueshanf/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/xueshanf/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xueshanf/docs/labels{/name}","releases_url":"https://api.github.com/repos/xueshanf/docs/releases{/id}","created_at":"2015-02-10T06:41:33Z","updated_at":"2015-02-10T08:21:52Z","pushed_at":"2015-02-10T08:21:52Z","git_url":"git://github.com/xueshanf/docs.git","ssh_url":"git@github.com:xueshanf/docs.git","clone_url":"https://github.com/xueshanf/docs.git","svn_url":"https://github.com/xueshanf/docs","homepage":"http://coreos.com/docs","size":3824,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"coreos:master","ref":"master","sha":"479a223e8644bde184dd926b74784a86634dd641","user":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"repo":{"id":11597120,"name":"docs","full_name":"coreos/docs","owner":{"login":"coreos","id":3730757,"avatar_url":"https://avatars.githubusercontent.com/u/3730757?v=3","gravatar_id":"","url":"https://api.github.com/users/coreos","html_url":"https://github.com/coreos","followers_url":"https://api.github.com/users/coreos/followers","following_url":"https://api.github.com/users/coreos/following{/other_user}","gists_url":"https://api.github.com/users/coreos/gists{/gist_id}","starred_url":"https://api.github.com/users/coreos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coreos/subscriptions","organizations_url":"https://api.github.com/users/coreos/orgs","repos_url":"https://api.github.com/users/coreos/repos","events_url":"https://api.github.com/users/coreos/events{/privacy}","received_events_url":"https://api.github.com/users/coreos/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coreos/docs","description":"Documentation for CoreOS in markdown","fork":false,"url":"https://api.github.com/repos/coreos/docs","forks_url":"https://api.github.com/repos/coreos/docs/forks","keys_url":"https://api.github.com/repos/coreos/docs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coreos/docs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coreos/docs/teams","hooks_url":"https://api.github.com/repos/coreos/docs/hooks","issue_events_url":"https://api.github.com/repos/coreos/docs/issues/events{/number}","events_url":"https://api.github.com/repos/coreos/docs/events","assignees_url":"https://api.github.com/repos/coreos/docs/assignees{/user}","branches_url":"https://api.github.com/repos/coreos/docs/branches{/branch}","tags_url":"https://api.github.com/repos/coreos/docs/tags","blobs_url":"https://api.github.com/repos/coreos/docs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coreos/docs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coreos/docs/git/refs{/sha}","trees_url":"https://api.github.com/repos/coreos/docs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coreos/docs/statuses/{sha}","languages_url":"https://api.github.com/repos/coreos/docs/languages","stargazers_url":"https://api.github.com/repos/coreos/docs/stargazers","contributors_url":"https://api.github.com/repos/coreos/docs/contributors","subscribers_url":"https://api.github.com/repos/coreos/docs/subscribers","subscription_url":"https://api.github.com/repos/coreos/docs/subscription","commits_url":"https://api.github.com/repos/coreos/docs/commits{/sha}","git_commits_url":"https://api.github.com/repos/coreos/docs/git/commits{/sha}","comments_url":"https://api.github.com/repos/coreos/docs/comments{/number}","issue_comment_url":"https://api.github.com/repos/coreos/docs/issues/comments/{number}","contents_url":"https://api.github.com/repos/coreos/docs/contents/{+path}","compare_url":"https://api.github.com/repos/coreos/docs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coreos/docs/merges","archive_url":"https://api.github.com/repos/coreos/docs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coreos/docs/downloads","issues_url":"https://api.github.com/repos/coreos/docs/issues{/number}","pulls_url":"https://api.github.com/repos/coreos/docs/pulls{/number}","milestones_url":"https://api.github.com/repos/coreos/docs/milestones{/number}","notifications_url":"https://api.github.com/repos/coreos/docs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coreos/docs/labels{/name}","releases_url":"https://api.github.com/repos/coreos/docs/releases{/id}","created_at":"2013-07-23T02:02:24Z","updated_at":"2015-02-08T04:31:04Z","pushed_at":"2015-02-04T03:10:40Z","git_url":"git://github.com/coreos/docs.git","ssh_url":"git@github.com:coreos/docs.git","clone_url":"https://github.com/coreos/docs.git","svn_url":"https://github.com/coreos/docs","homepage":"http://coreos.com/docs","size":3824,"stargazers_count":496,"watchers_count":496,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":268,"mirror_url":null,"open_issues_count":28,"forks":268,"open_issues":28,"watchers":496,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coreos/docs/pulls/429"},"html":{"href":"https://github.com/coreos/docs/pull/429"},"issue":{"href":"https://api.github.com/repos/coreos/docs/issues/429"},"comments":{"href":"https://api.github.com/repos/coreos/docs/issues/429/comments"},"review_comments":{"href":"https://api.github.com/repos/coreos/docs/pulls/429/comments"},"review_comment":{"href":"https://api.github.com/repos/coreos/docs/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/coreos/docs/pulls/429/commits"},"statuses":{"href":"https://api.github.com/repos/coreos/docs/statuses/8c4ce1fdd767eee04d317f1073d044492bbfe800"}}}}