{"action":"created","comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/comments/89062441","pull_request_review_id":9612841,"id":89062441,"diff_hunk":"@@ -9,23 +9,47 @@ sharing: true\n footer: true\n ---\n \n-Many linux distributions use the Upstart system (or similar) for managing daemons. Typically, systems based on Debian 7 or previous use Upstart. This includes Ubuntu releases before 15.04. If you are unsure if your system is using Upstart, you may check with the following command:\n+Many linux distributions use the <a href=\"http://upstart.ubuntu.com/cookbook/\" target=\"_blank\">Upstart</a> system (or similar) for managing daemons. Typically, systems based on Debian 7 or previous use Upstart. This includes Ubuntu releases before 15.04. If you are unsure if your system is using Upstart, you may check with the following command:\n \n ```bash\n $ ps -p 1 -o comm=\n ```\n \n-If the preceding command returns the string `init`, you are likely using Upstart.\n+If the preceding command returns the string `init`, you are likely using Upstart. Just to be really sure, request the Upstart version with:\n \n-Upstart will launch init scripts that are located in the directory `/etc/init.d/`. A sample init script for systems using Upstart is <a href=\"https://raw.githubusercontent.com/home-assistant/home-assistant/dev/script/hass-daemon\">maintained by this project</a>.\n+```\n+$ init --version\n+```\n+\n+The output should mention something similar to `init (upstart 1.12.1)`. If it doesn't, you're dealing with a traditional (SysV-style) init system and you should follow [these instructions](../autostart-init).\n+\n+Upstart will use configuration files in `/etc/init/`. A sample Upstart configuration is included in the <a href=\"https://github.com/home-assistant/home-assistant/blob/dev/script/hass.conf\">Home Assistant source code</a>.\n+\n+Installation\n+-------------\n+Create a file named `/etc/init/hass.conf` with the following contents:\n+\n+```","path":"source/getting-started/autostart-upstart.markdown","position":27,"original_position":27,"commit_id":"e0192f5b2d899343a23d0302ec3605f3f21daee0","original_commit_id":"e8cfcbe8efce35ce94512b1db940afadeb18d73c","user":{"login":"Landrash","id":1756938,"avatar_url":"https://avatars.githubusercontent.com/u/1756938?v=3","gravatar_id":"","url":"https://api.github.com/users/Landrash","html_url":"https://github.com/Landrash","followers_url":"https://api.github.com/users/Landrash/followers","following_url":"https://api.github.com/users/Landrash/following{/other_user}","gists_url":"https://api.github.com/users/Landrash/gists{/gist_id}","starred_url":"https://api.github.com/users/Landrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Landrash/subscriptions","organizations_url":"https://api.github.com/users/Landrash/orgs","repos_url":"https://api.github.com/users/Landrash/repos","events_url":"https://api.github.com/users/Landrash/events{/privacy}","received_events_url":"https://api.github.com/users/Landrash/received_events","type":"User","site_admin":false},"body":"Sorry, your correct ofc. It should be `shell`.\r\n\r\nGood reference list [here][syntaxreference] if you use markdown with jekyll or Github.\r\n\r\n[syntaxreference]:https://github.com/github/linguist/blob/master/lib/linguist/languages.yml#L3957","created_at":"2016-11-22T08:25:17Z","updated_at":"2016-11-22T08:25:17Z","html_url":"https://github.com/home-assistant/home-assistant.github.io/pull/1407#discussion_r89062441","pull_request_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/1407","_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/comments/89062441"},"html":{"href":"https://github.com/home-assistant/home-assistant.github.io/pull/1407#discussion_r89062441"},"pull_request":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/1407"}}},"pull_request":{"url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/1407","id":92490635,"html_url":"https://github.com/home-assistant/home-assistant.github.io/pull/1407","diff_url":"https://github.com/home-assistant/home-assistant.github.io/pull/1407.diff","patch_url":"https://github.com/home-assistant/home-assistant.github.io/pull/1407.patch","issue_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/1407","number":1407,"state":"open","locked":false,"title":"autostart: distinguish between init and upstart","user":{"login":"brammeleman","id":468604,"avatar_url":"https://avatars.githubusercontent.com/u/468604?v=3","gravatar_id":"","url":"https://api.github.com/users/brammeleman","html_url":"https://github.com/brammeleman","followers_url":"https://api.github.com/users/brammeleman/followers","following_url":"https://api.github.com/users/brammeleman/following{/other_user}","gists_url":"https://api.github.com/users/brammeleman/gists{/gist_id}","starred_url":"https://api.github.com/users/brammeleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brammeleman/subscriptions","organizations_url":"https://api.github.com/users/brammeleman/orgs","repos_url":"https://api.github.com/users/brammeleman/repos","events_url":"https://api.github.com/users/brammeleman/events{/privacy}","received_events_url":"https://api.github.com/users/brammeleman/received_events","type":"User","site_admin":false},"body":"**Description:**\r\nAdded upstart configuration + documentation\r\n\r\n**Pull request in [home-assistant](https://github.com/home-assistant/home-assistant):** home-assistant/home-assistant#4243\r\n\r\n\r\n","created_at":"2016-11-06T15:19:37Z","updated_at":"2016-11-22T08:25:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"717fbb291258c727fc461fc316dab6852bd9ddfc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/1407/commits","review_comments_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/1407/comments","review_comment_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/1407/comments","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/statuses/e0192f5b2d899343a23d0302ec3605f3f21daee0","head":{"label":"brammeleman:next","ref":"next","sha":"e0192f5b2d899343a23d0302ec3605f3f21daee0","user":{"login":"brammeleman","id":468604,"avatar_url":"https://avatars.githubusercontent.com/u/468604?v=3","gravatar_id":"","url":"https://api.github.com/users/brammeleman","html_url":"https://github.com/brammeleman","followers_url":"https://api.github.com/users/brammeleman/followers","following_url":"https://api.github.com/users/brammeleman/following{/other_user}","gists_url":"https://api.github.com/users/brammeleman/gists{/gist_id}","starred_url":"https://api.github.com/users/brammeleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brammeleman/subscriptions","organizations_url":"https://api.github.com/users/brammeleman/orgs","repos_url":"https://api.github.com/users/brammeleman/repos","events_url":"https://api.github.com/users/brammeleman/events{/privacy}","received_events_url":"https://api.github.com/users/brammeleman/received_events","type":"User","site_admin":false},"repo":{"id":72787073,"name":"home-assistant.github.io","full_name":"brammeleman/home-assistant.github.io","owner":{"login":"brammeleman","id":468604,"avatar_url":"https://avatars.githubusercontent.com/u/468604?v=3","gravatar_id":"","url":"https://api.github.com/users/brammeleman","html_url":"https://github.com/brammeleman","followers_url":"https://api.github.com/users/brammeleman/followers","following_url":"https://api.github.com/users/brammeleman/following{/other_user}","gists_url":"https://api.github.com/users/brammeleman/gists{/gist_id}","starred_url":"https://api.github.com/users/brammeleman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brammeleman/subscriptions","organizations_url":"https://api.github.com/users/brammeleman/orgs","repos_url":"https://api.github.com/users/brammeleman/repos","events_url":"https://api.github.com/users/brammeleman/events{/privacy}","received_events_url":"https://api.github.com/users/brammeleman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/brammeleman/home-assistant.github.io","description":":blue_book: Jekyll project to generate home-assistant.io","fork":true,"url":"https://api.github.com/repos/brammeleman/home-assistant.github.io","forks_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/forks","keys_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/teams","hooks_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/hooks","issue_events_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/events","assignees_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/tags","blobs_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/languages","stargazers_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/stargazers","contributors_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/contributors","subscribers_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/subscribers","subscription_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/subscription","commits_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/merges","archive_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/downloads","issues_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/labels{/name}","releases_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/brammeleman/home-assistant.github.io/deployments","created_at":"2016-11-03T21:09:08Z","updated_at":"2016-11-03T21:09:14Z","pushed_at":"2016-11-21T08:51:07Z","git_url":"git://github.com/brammeleman/home-assistant.github.io.git","ssh_url":"git@github.com:brammeleman/home-assistant.github.io.git","clone_url":"https://github.com/brammeleman/home-assistant.github.io.git","svn_url":"https://github.com/brammeleman/home-assistant.github.io","homepage":"https://home-assistant.io","size":92433,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"next"}},"base":{"label":"home-assistant:next","ref":"next","sha":"11ecba902f9a520cdcf8a205e08a49aa30777006","user":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars.githubusercontent.com/u/13844975?v=3","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"repo":{"id":28312955,"name":"home-assistant.github.io","full_name":"home-assistant/home-assistant.github.io","owner":{"login":"home-assistant","id":13844975,"avatar_url":"https://avatars.githubusercontent.com/u/13844975?v=3","gravatar_id":"","url":"https://api.github.com/users/home-assistant","html_url":"https://github.com/home-assistant","followers_url":"https://api.github.com/users/home-assistant/followers","following_url":"https://api.github.com/users/home-assistant/following{/other_user}","gists_url":"https://api.github.com/users/home-assistant/gists{/gist_id}","starred_url":"https://api.github.com/users/home-assistant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/home-assistant/subscriptions","organizations_url":"https://api.github.com/users/home-assistant/orgs","repos_url":"https://api.github.com/users/home-assistant/repos","events_url":"https://api.github.com/users/home-assistant/events{/privacy}","received_events_url":"https://api.github.com/users/home-assistant/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/home-assistant/home-assistant.github.io","description":":blue_book: Jekyll project to generate home-assistant.io","fork":false,"url":"https://api.github.com/repos/home-assistant/home-assistant.github.io","forks_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/forks","keys_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/teams","hooks_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/hooks","issue_events_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/events","assignees_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/tags","blobs_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/languages","stargazers_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/stargazers","contributors_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/contributors","subscribers_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/subscribers","subscription_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/subscription","commits_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/merges","archive_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/downloads","issues_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/labels{/name}","releases_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/home-assistant/home-assistant.github.io/deployments","created_at":"2014-12-21T20:59:21Z","updated_at":"2016-11-18T17:15:06Z","pushed_at":"2016-11-22T04:50:52Z","git_url":"git://github.com/home-assistant/home-assistant.github.io.git","ssh_url":"git@github.com:home-assistant/home-assistant.github.io.git","clone_url":"https://github.com/home-assistant/home-assistant.github.io.git","svn_url":"https://github.com/home-assistant/home-assistant.github.io","homepage":"https://home-assistant.io","size":96635,"stargazers_count":110,"watchers_count":110,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":516,"mirror_url":null,"open_issues_count":26,"forks":516,"open_issues":26,"watchers":110,"default_branch":"next"}},"_links":{"self":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/1407"},"html":{"href":"https://github.com/home-assistant/home-assistant.github.io/pull/1407"},"issue":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/1407"},"comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/issues/1407/comments"},"review_comments":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/1407/comments"},"review_comment":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/pulls/1407/commits"},"statuses":{"href":"https://api.github.com/repos/home-assistant/home-assistant.github.io/statuses/e0192f5b2d899343a23d0302ec3605f3f21daee0"}}}}
{"actor":{"display_login":"Landrash"}}