--with-pidpath=PATH
Changes the directory where pid files are stored. 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 is, as those programs should be able to write there.
--with-statepath=PATH
Change the default location of the state sockets created by the drivers.
The NUT_STATEPATH environment variable overrides this at run time.
Default is /var/state/ups.