From 5b1cfd19f84381b715b580c5eb7ca674443a552b Mon Sep 17 00:00:00 2001 From: Vasilis Koulis Date: Sun, 26 Nov 2023 22:45:27 +0000 Subject: [PATCH] GITBOOK-44: change request with no subject merged in GitBook --- README.md | 2 +- examples.md | 11 +++++++++++ setup.md | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) 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