diff --git a/README.md b/README.md index 123ab32..9b7d662 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Home Assistant companion app for linux that uses the MQTT integration to get inf | Webcam | Power Profile | | Screenshot | Speech Recognition | | Full Screen | Audio Select (microphone, speaker) | -| Inference Time | | +| Inference Time | SystemD | | Display Variable | | ## Supported OS diff --git a/examples.md b/examples.md index 121fccc..beae79b 100644 --- a/examples.md +++ b/examples.md @@ -963,3 +963,14 @@ action: payload: "OFF" ``` +## SystemD + +Not all services on a machine are needed to be controlled or monitored through a switch, so they need to be configured manually by adding this on your configuration.yaml file: + +```yaml +settings: + systemd: + - docker.service + - anydesk.service +``` + diff --git a/setup.md b/setup.md index e8ac04d..695e6fa 100644 --- a/setup.md +++ b/setup.md @@ -120,6 +120,7 @@ Some commands needs to run as a root user, but it's not recommended to run LNXli sudo visudo # Add this line at the end (replace USER with your username): USER ALL=(ALL) NOPASSWD: /usr/sbin/grub-reboot +USER ALL=(ALL) NOPASSWD: /bin/systemctl ``` ## Config