Bug#901358: ups-monitor script needs to honor PWRFAILDIR

2018-06-11 Thread Elliott Mitchell
tags 901358 patch quit Need to attach the patch... -- (\___(\___(\__ --=> 8-) EHM <=-- __/)___/)___/) \BS (| ehem+sig...@m5p.com PGP 87145445 |) / \_CS\ | _ -O #include O- _ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6

Bug#901358: ups-monitor script needs to honor PWRFAILDIR

2018-06-11 Thread Elliott Mitchell
Package: apcupsd Version: 3.14.14-0.3 If the value PWRFAILDIR is modified in /etc/apcupsd/apcupsd.conf, the /etc/apcupsd/ups-monitor script WILL fail. The attached patch should solve this. PWRFAILDIR should likely default to "/run" or "/run/apcupsd" as those are STRONGLY prefered for runtime