1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/domoticz_ynh.git synced 2024-09-03 18:26:17 +02:00
domoticz_ynh/conf
tofbouf a02c7f4d1c
Update systemd.service
Problem

    System Alive Checker does not work. The "ping'ed" adresses are always shown as OFF.

Solution

    From the domoticz documentation:
When running Domoticz without root (recommended), you need to add the correct socket capabilities for this to function properly and restart domoticz (otherwise it will fail silently!):
$ sudo setcap -v cap_net_raw+eip <full qualified name of domoticz executable> 

So, I added the capability "cap_net_raw=+eip" in systemd.service

R Status

    Code finished.
    Tested on my own instance.
2021-01-27 09:05:36 +01:00
..
app.src.default Initial Commit 2020-10-05 23:05:58 +02:00
nginx.conf Allow upload of files up to 10M 2021-01-17 19:02:59 +01:00
sudoer Allow internal upgrade 2020-11-08 15:24:23 +01:00
systemd.service Update systemd.service 2021-01-27 09:05:36 +01:00