Docs: Add PolicyKit to FAQ (#595)

* docs: add policitykit faq
This commit is contained in:
lixxbox 2022-01-29 11:13:10 +01:00 committed by GitHub
parent 4f9581f3a0
commit 0005654895
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 39 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 120 KiB

View File

@ -0,0 +1,9 @@
---
layout: default
title: Moonraker Warnings
parent: FAQ
nav_order: 20
has_children: true
permalink: /faq/moonraker_warnings
has_toc: false
---

View File

@ -0,0 +1,30 @@
---
layout: default
title: PolicyKit Permissions
parent: Moonraker Warnings
grand_parent: FAQ
nav_order: 20
has_children: false
permalink: /faq/moonraker_warnings/policykit
has_toc: false
---
# PolicyKit Permissions
Since Jan 28th '22, Moonraker has changed the way to communicate with system services to D-Bus instead of previously `sudo` commands.
After updating Moonraker you might be presented this warning message:
![PolicityKit Warning](img/policitykit.png){:width="50%"}
To resolve this warning you have to install the PolicyKit permissions with the `set-policykit-rules.sh` script.
SSH into your system and execute the following commands:
```
cd ~/moonraker/scripts
./set-policykit-rules.sh
sudo service moonraker restart
```
For more information, please check out the corresponding [Moonraker documentation](https://moonraker.readthedocs.io/en/latest/installation/#policykit-permissions).
{: .info}