PowerStationMonitor/openhab2/misc/exec.whitelist

6 lines
307 B
Plaintext

# For security reasons all commands that are used by the exec binding or transformation need to be whitelisted.
# Every command needs to be listed on a separate line below.
sudo /bin/systemctl %2$s openhab2.service
sudo /bin/systemctl %2$s nodered.service
sudo %2$s
cat /sys/class/thermal/thermal_zone0/temp