From e408c07387500b9343f36f597fa2c08b8c2531b8 Mon Sep 17 00:00:00 2001 From: velvettear Date: Thu, 24 Mar 2022 10:36:23 +0100 Subject: [PATCH] updated readme --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 143781b..14dfe08 100644 --- a/README.md +++ b/README.md @@ -77,4 +77,10 @@ configuration is done entirely within the file `config.json`. - *name*: [*object*] - cmd: [*string*] command / path to script to execute - args: [*string-array*] arguments to pass to the executed command - - sudo: [*boolean*] use sudo to execute the command \ No newline at end of file + - sudo: [*boolean*] use sudo to execute the command + +**note:** +if you intend to use ninwa as a systemd-service with `sudo` make sure the configured user is allowed to execute the command without entering a password. **otherwise your service will just stop at the password prompt!** + +- `sudo visudo` +- `username ALL=(ALL) NOPASSWD: command`