{"action":"closed","issue":{"url":"https://api.github.com/repos/abacao/Boot2Kodi/issues/3","repository_url":"https://api.github.com/repos/abacao/Boot2Kodi","labels_url":"https://api.github.com/repos/abacao/Boot2Kodi/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/abacao/Boot2Kodi/issues/3/comments","events_url":"https://api.github.com/repos/abacao/Boot2Kodi/issues/3/events","html_url":"https://github.com/abacao/Boot2Kodi/issues/3","id":347658162,"node_id":"MDU6SXNzdWUzNDc2NTgxNjI=","number":3,"title":"Support system poweroff via UI","user":{"login":"chrisyokum","id":4282784,"node_id":"MDQ6VXNlcjQyODI3ODQ=","avatar_url":"https://avatars2.githubusercontent.com/u/4282784?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisyokum","html_url":"https://github.com/chrisyokum","followers_url":"https://api.github.com/users/chrisyokum/followers","following_url":"https://api.github.com/users/chrisyokum/following{/other_user}","gists_url":"https://api.github.com/users/chrisyokum/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisyokum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisyokum/subscriptions","organizations_url":"https://api.github.com/users/chrisyokum/orgs","repos_url":"https://api.github.com/users/chrisyokum/repos","events_url":"https://api.github.com/users/chrisyokum/events{/privacy}","received_events_url":"https://api.github.com/users/chrisyokum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-05T00:33:10Z","updated_at":"2018-08-13T17:26:19Z","closed_at":"2018-08-13T17:26:19Z","author_association":"NONE","body":"1) Install upower\r\n```\r\n$ apt-get install upower\r\n```\r\n2) Create file /etc/polkit-1/localauthority/50-local.d/custom-actions.pkla with content:\r\n```\r\n[Actions for kodi user]\r\nIdentity=unix-user:kodi\r\nAction=org.freedesktop.upower.*;org.freedesktop.consolekit.system.*;org.freedesktop.udisks.*;org.freedesktop.login1.*\r\nResultAny=yes\r\nResultInactive=yes\r\nResultActive=yes\r\n```\r\n\r\nThis has been verified to work on Ubuntu Server 18.04.1 LTS, just needs to be added to this setup process."}}
{"actor":{"display_login":"abacao"}}