On Wed, 12 Feb 2020, Max Pierson-Liénard wrote:
Next I tried changing the command to a bash script: NOTIFYCMD /etc/nut/call-ups-log.shInside that bash script, I just have this: #!/bin/sh logger "called call-ups-log.sh" /home/pi/Documents/scripts/ups-log.py "$*" "called call-ups-log.sh" shows up in /var/log/messages as expected, but the python script still isn't getting called.
The good news is that the NOTIFYCMD mechanism is working. This is beginning to look like a Python problem.
Roger
_______________________________________________ Nut-upsuser mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser
