Package: apcupsd
Version: 3.14.12-1.1


I noticed the LOCKFILE directive in /etc/apcupsd/apcupsd.conf:

# LOCKFILE <path to lockfile>
#   Path for device lock file. Not used on Win32.
LOCKFILE /var/lock


but I didn't see any lockfile in /var/lock

I tried to restart the process and looked at the logs and tried to see
if there was any error about creating the lock file.

The UPS is connected using the SNMP method.

Looking at the manual[1], it appears that the lock file may only be
created when a USB or serial connection has been specified.  If that is
the case, maybe the comment in apcupsd.conf can be updated to mention that?



1.
http://www.apcupsd.com/manual/manual.html#general-configuration-directives

Reply via email to