# moha 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