--with-pidpath=PATH
Changes the directory where NUT pid files are stored for processes running
as root. By default this is /var/run. Certain programs like upsmon
will leave files here.
--with-altpidpath=PATH
Programs that normally don’t have root powers, like the drivers and
upsd, write their pid files here. By default this is whatever the
statepath (below) is, as those programs should be able to write there.
The NUT_ALTPIDPATH environment variable overrides this at run time.
--with-statepath=PATH
Change the default location of the state sockets created by the drivers
to interact with the data server upsd. Default is /var/state/ups.
The NUT_STATEPATH environment variable overrides this at run time.
--with-powerdownflag=FILEPATH
Change the default location (full filename path) of the POWERDOWNFLAG
created by upsmon (as root) to tell the late-shutdown integration
that this machine should tell all UPSes for which it is a "primary" NUT
server to cut power to the load. Default is /etc/killpower on POSIX
systems and "C:\\killpower" (note the double backslashes) on Windows.