Desc: Configure options
File: configure.txt
Date: 31 October 2000
Auth: Russell Kroll <rkroll@exploits.org>

There are a few options that can be given to configure to tweak compiles:

 --with-statepath=PATH

   Change the location of the state files created by the model programs.
   Default is /var/state/ups.

 --with-udpport=PORT

   Change the UDP and TCP ports used by the network code.  Default is 3305.

 --with-user=<username>

   Programs started as root will setuid() to this user for safety.
   The default user is nobody.

   Note: upsmon does not drop root as it needs to invoke a shutdown.

 --with-group=<groupname>

   Programs started as root will setgid() to this group for safety.
   The default group is nogroup.

 --with-logfacility=FACILITY

   Change the facility used when writing to the log file.  Read the man
   page for openlog to get some idea of what's available on your system.
   Default is LOG_DAEMON.

 --without-shared-memory

   Disables shared memory on the model drivers and upsd.  This is useful
   on systems where the automatic detection fails, or for debugging.

 --sysconfdir=PATH

   Changes the configuration path for the suite.  By default this path
   is /usr/local/ups/etc.  Making this /etc might be useful.
