From 3e01933e1325b4d7f97fa4f08c84a49eb1019125 Mon Sep 17 00:00:00 2001 From: Daniel Tartavel Date: Fri, 2 Sep 2022 18:00:01 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20rechargement=20auto=20des=20fichiers=20?= =?UTF-8?q?de=20conf=20modifi=C3=A9.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 00ef2b0..a288677 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ # moha -My Own Home Assistant \ No newline at end of file +My Own Home Assistant + + +You must configure sudoers to allow usr domotique to execute nmap and systemctl restart presenceD.service + +/etc/sudoers: + +Cmnd_Alias DOM = /usr/bin/nmap, /usr/bin/systemctl restart presenceD.service +domotique ALL=(ALL) NOPASSWD: DOM