[Nut-upsuser] NOTIFYCMD not running

Roger Price roger at rogerprice.org
Wed Feb 12 09:17:31 GMT 2020

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.sh
> Inside 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.


More information about the Nut-upsuser mailing list