{"action":"reopened","number":48,"pull_request":{"url":"https://api.github.com/repos/GladysProject/Gladys/pulls/48","id":55543530,"html_url":"https://github.com/GladysProject/Gladys/pull/48","diff_url":"https://github.com/GladysProject/Gladys/pull/48.diff","patch_url":"https://github.com/GladysProject/Gladys/pull/48.patch","issue_url":"https://api.github.com/repos/GladysProject/Gladys/issues/48","number":48,"state":"open","locked":false,"title":"Fixed some issues with PM2 on reboot","user":{"login":"Molkobain","id":5130468,"avatar_url":"https://avatars.githubusercontent.com/u/5130468?v=3","gravatar_id":"","url":"https://api.github.com/users/Molkobain","html_url":"https://github.com/Molkobain","followers_url":"https://api.github.com/users/Molkobain/followers","following_url":"https://api.github.com/users/Molkobain/following{/other_user}","gists_url":"https://api.github.com/users/Molkobain/gists{/gist_id}","starred_url":"https://api.github.com/users/Molkobain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Molkobain/subscriptions","organizations_url":"https://api.github.com/users/Molkobain/orgs","repos_url":"https://api.github.com/users/Molkobain/repos","events_url":"https://api.github.com/users/Molkobain/events{/privacy}","received_events_url":"https://api.github.com/users/Molkobain/received_events","type":"User","site_admin":false},"body":"I had 2 issues with PM2 :\r\n- The script generated by pm2 startup was using the wrong user (root instead of pi)\r\n- The dump file containing the applications to ressurect was set to empty by PM2 when rebooting, therefore the applications where not starting automatically when rebooting manually\r\n\r\nSo I made 2 changes to rpi-2-install.sh script.\r\n\r\nThis might need to be tested on distro others than raspbian.","created_at":"2016-01-09T14:33:08Z","updated_at":"2016-01-16T09:55:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4165bc12d25fe6efb4b77d85f3d6ac1c94fe0cbf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/GladysProject/Gladys/pulls/48/commits","review_comments_url":"https://api.github.com/repos/GladysProject/Gladys/pulls/48/comments","review_comment_url":"https://api.github.com/repos/GladysProject/Gladys/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GladysProject/Gladys/issues/48/comments","statuses_url":"https://api.github.com/repos/GladysProject/Gladys/statuses/589ce1f83a2486377150d56cc733ac3c18d5f3a3","head":{"label":"Molkobain:master","ref":"master","sha":"589ce1f83a2486377150d56cc733ac3c18d5f3a3","user":{"login":"Molkobain","id":5130468,"avatar_url":"https://avatars.githubusercontent.com/u/5130468?v=3","gravatar_id":"","url":"https://api.github.com/users/Molkobain","html_url":"https://github.com/Molkobain","followers_url":"https://api.github.com/users/Molkobain/followers","following_url":"https://api.github.com/users/Molkobain/following{/other_user}","gists_url":"https://api.github.com/users/Molkobain/gists{/gist_id}","starred_url":"https://api.github.com/users/Molkobain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Molkobain/subscriptions","organizations_url":"https://api.github.com/users/Molkobain/orgs","repos_url":"https://api.github.com/users/Molkobain/repos","events_url":"https://api.github.com/users/Molkobain/events{/privacy}","received_events_url":"https://api.github.com/users/Molkobain/received_events","type":"User","site_admin":false},"repo":{"id":48850647,"name":"Gladys","full_name":"Molkobain/Gladys","owner":{"login":"Molkobain","id":5130468,"avatar_url":"https://avatars.githubusercontent.com/u/5130468?v=3","gravatar_id":"","url":"https://api.github.com/users/Molkobain","html_url":"https://github.com/Molkobain","followers_url":"https://api.github.com/users/Molkobain/followers","following_url":"https://api.github.com/users/Molkobain/following{/other_user}","gists_url":"https://api.github.com/users/Molkobain/gists{/gist_id}","starred_url":"https://api.github.com/users/Molkobain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Molkobain/subscriptions","organizations_url":"https://api.github.com/users/Molkobain/orgs","repos_url":"https://api.github.com/users/Molkobain/repos","events_url":"https://api.github.com/users/Molkobain/events{/privacy}","received_events_url":"https://api.github.com/users/Molkobain/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Molkobain/Gladys","description":"Your home automation assistant built with Node.js and AngularJS","fork":true,"url":"https://api.github.com/repos/Molkobain/Gladys","forks_url":"https://api.github.com/repos/Molkobain/Gladys/forks","keys_url":"https://api.github.com/repos/Molkobain/Gladys/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Molkobain/Gladys/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Molkobain/Gladys/teams","hooks_url":"https://api.github.com/repos/Molkobain/Gladys/hooks","issue_events_url":"https://api.github.com/repos/Molkobain/Gladys/issues/events{/number}","events_url":"https://api.github.com/repos/Molkobain/Gladys/events","assignees_url":"https://api.github.com/repos/Molkobain/Gladys/assignees{/user}","branches_url":"https://api.github.com/repos/Molkobain/Gladys/branches{/branch}","tags_url":"https://api.github.com/repos/Molkobain/Gladys/tags","blobs_url":"https://api.github.com/repos/Molkobain/Gladys/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Molkobain/Gladys/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Molkobain/Gladys/git/refs{/sha}","trees_url":"https://api.github.com/repos/Molkobain/Gladys/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Molkobain/Gladys/statuses/{sha}","languages_url":"https://api.github.com/repos/Molkobain/Gladys/languages","stargazers_url":"https://api.github.com/repos/Molkobain/Gladys/stargazers","contributors_url":"https://api.github.com/repos/Molkobain/Gladys/contributors","subscribers_url":"https://api.github.com/repos/Molkobain/Gladys/subscribers","subscription_url":"https://api.github.com/repos/Molkobain/Gladys/subscription","commits_url":"https://api.github.com/repos/Molkobain/Gladys/commits{/sha}","git_commits_url":"https://api.github.com/repos/Molkobain/Gladys/git/commits{/sha}","comments_url":"https://api.github.com/repos/Molkobain/Gladys/comments{/number}","issue_comment_url":"https://api.github.com/repos/Molkobain/Gladys/issues/comments{/number}","contents_url":"https://api.github.com/repos/Molkobain/Gladys/contents/{+path}","compare_url":"https://api.github.com/repos/Molkobain/Gladys/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Molkobain/Gladys/merges","archive_url":"https://api.github.com/repos/Molkobain/Gladys/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Molkobain/Gladys/downloads","issues_url":"https://api.github.com/repos/Molkobain/Gladys/issues{/number}","pulls_url":"https://api.github.com/repos/Molkobain/Gladys/pulls{/number}","milestones_url":"https://api.github.com/repos/Molkobain/Gladys/milestones{/number}","notifications_url":"https://api.github.com/repos/Molkobain/Gladys/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Molkobain/Gladys/labels{/name}","releases_url":"https://api.github.com/repos/Molkobain/Gladys/releases{/id}","created_at":"2015-12-31T13:39:57Z","updated_at":"2016-01-16T09:52:31Z","pushed_at":"2016-01-16T09:52:29Z","git_url":"git://github.com/Molkobain/Gladys.git","ssh_url":"git@github.com:Molkobain/Gladys.git","clone_url":"https://github.com/Molkobain/Gladys.git","svn_url":"https://github.com/Molkobain/Gladys","homepage":null,"size":11134,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"GladysProject:master","ref":"master","sha":"857aeebc952ccfdd807899514bde4749512184c5","user":{"login":"GladysProject","id":7365162,"avatar_url":"https://avatars.githubusercontent.com/u/7365162?v=3","gravatar_id":"","url":"https://api.github.com/users/GladysProject","html_url":"https://github.com/GladysProject","followers_url":"https://api.github.com/users/GladysProject/followers","following_url":"https://api.github.com/users/GladysProject/following{/other_user}","gists_url":"https://api.github.com/users/GladysProject/gists{/gist_id}","starred_url":"https://api.github.com/users/GladysProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GladysProject/subscriptions","organizations_url":"https://api.github.com/users/GladysProject/orgs","repos_url":"https://api.github.com/users/GladysProject/repos","events_url":"https://api.github.com/users/GladysProject/events{/privacy}","received_events_url":"https://api.github.com/users/GladysProject/received_events","type":"Organization","site_admin":false},"repo":{"id":36928490,"name":"Gladys","full_name":"GladysProject/Gladys","owner":{"login":"GladysProject","id":7365162,"avatar_url":"https://avatars.githubusercontent.com/u/7365162?v=3","gravatar_id":"","url":"https://api.github.com/users/GladysProject","html_url":"https://github.com/GladysProject","followers_url":"https://api.github.com/users/GladysProject/followers","following_url":"https://api.github.com/users/GladysProject/following{/other_user}","gists_url":"https://api.github.com/users/GladysProject/gists{/gist_id}","starred_url":"https://api.github.com/users/GladysProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GladysProject/subscriptions","organizations_url":"https://api.github.com/users/GladysProject/orgs","repos_url":"https://api.github.com/users/GladysProject/repos","events_url":"https://api.github.com/users/GladysProject/events{/privacy}","received_events_url":"https://api.github.com/users/GladysProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GladysProject/Gladys","description":"Your home automation assistant built with Node.js and AngularJS","fork":false,"url":"https://api.github.com/repos/GladysProject/Gladys","forks_url":"https://api.github.com/repos/GladysProject/Gladys/forks","keys_url":"https://api.github.com/repos/GladysProject/Gladys/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GladysProject/Gladys/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GladysProject/Gladys/teams","hooks_url":"https://api.github.com/repos/GladysProject/Gladys/hooks","issue_events_url":"https://api.github.com/repos/GladysProject/Gladys/issues/events{/number}","events_url":"https://api.github.com/repos/GladysProject/Gladys/events","assignees_url":"https://api.github.com/repos/GladysProject/Gladys/assignees{/user}","branches_url":"https://api.github.com/repos/GladysProject/Gladys/branches{/branch}","tags_url":"https://api.github.com/repos/GladysProject/Gladys/tags","blobs_url":"https://api.github.com/repos/GladysProject/Gladys/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GladysProject/Gladys/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GladysProject/Gladys/git/refs{/sha}","trees_url":"https://api.github.com/repos/GladysProject/Gladys/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GladysProject/Gladys/statuses/{sha}","languages_url":"https://api.github.com/repos/GladysProject/Gladys/languages","stargazers_url":"https://api.github.com/repos/GladysProject/Gladys/stargazers","contributors_url":"https://api.github.com/repos/GladysProject/Gladys/contributors","subscribers_url":"https://api.github.com/repos/GladysProject/Gladys/subscribers","subscription_url":"https://api.github.com/repos/GladysProject/Gladys/subscription","commits_url":"https://api.github.com/repos/GladysProject/Gladys/commits{/sha}","git_commits_url":"https://api.github.com/repos/GladysProject/Gladys/git/commits{/sha}","comments_url":"https://api.github.com/repos/GladysProject/Gladys/comments{/number}","issue_comment_url":"https://api.github.com/repos/GladysProject/Gladys/issues/comments{/number}","contents_url":"https://api.github.com/repos/GladysProject/Gladys/contents/{+path}","compare_url":"https://api.github.com/repos/GladysProject/Gladys/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GladysProject/Gladys/merges","archive_url":"https://api.github.com/repos/GladysProject/Gladys/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GladysProject/Gladys/downloads","issues_url":"https://api.github.com/repos/GladysProject/Gladys/issues{/number}","pulls_url":"https://api.github.com/repos/GladysProject/Gladys/pulls{/number}","milestones_url":"https://api.github.com/repos/GladysProject/Gladys/milestones{/number}","notifications_url":"https://api.github.com/repos/GladysProject/Gladys/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GladysProject/Gladys/labels{/name}","releases_url":"https://api.github.com/repos/GladysProject/Gladys/releases{/id}","created_at":"2015-06-05T11:10:33Z","updated_at":"2016-01-15T23:54:06Z","pushed_at":"2016-01-16T09:52:30Z","git_url":"git://github.com/GladysProject/Gladys.git","ssh_url":"git@github.com:GladysProject/Gladys.git","clone_url":"https://github.com/GladysProject/Gladys.git","svn_url":"https://github.com/GladysProject/Gladys","homepage":null,"size":11229,"stargazers_count":234,"watchers_count":234,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":37,"mirror_url":null,"open_issues_count":11,"forks":37,"open_issues":11,"watchers":234,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GladysProject/Gladys/pulls/48"},"html":{"href":"https://github.com/GladysProject/Gladys/pull/48"},"issue":{"href":"https://api.github.com/repos/GladysProject/Gladys/issues/48"},"comments":{"href":"https://api.github.com/repos/GladysProject/Gladys/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/GladysProject/Gladys/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/GladysProject/Gladys/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GladysProject/Gladys/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/GladysProject/Gladys/statuses/589ce1f83a2486377150d56cc733ac3c18d5f3a3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":4,"review_comments":0,"commits":5,"additions":8,"deletions":7,"changed_files":2}}