Displaying 1 result from an estimated 1 matches for "onbatt1as".
Did you mean:
onbatt1
2020 Mar 19
0
exec_cmd(/path/upssched-cmd event) returned 78
...log :
Mar 19 20:49:51 chaudron-nautique upssched[1377]:
exec_cmd(/path/upssched-cmd onbatt1) returned 78
The log messages prior to the email (logger -t upssched-cmd message) can
be found in syslog thus I'm sure that upssched-cmd is called when the
event occurs and if I run ~#./upssched-cmd onbatt1as root, the mail is
sent properly.
I tried a few things regarding privileges on nut/mail/msmtp but could
not make it work.
If someone knows what I need to do, I'd be happy !
Cdly,
Mathieu
OS : debian buster (10.3)
Package to send the email : msmtp 1.8.3-1 amd64
Nut : nut/stable 2.7.4-8...