nut-debian/conf/nut.conf.sample

40 lines
1.9 KiB
Plaintext
Raw Normal View History

2010-03-26 01:20:59 +02:00
# Network UPS Tools: example nut.conf
#
##############################################################################
# General section
##############################################################################
# The MODE determines which part of the NUT is to be started, and which
# configuration files must be modified.
#
# This file try to standardize the various files being found in the field, like
# /etc/default/nut on Debian based systems, /etc/sysconfig/ups on RedHat based
# systems, ... Distribution's init script should source this file to see which
# component(s) has to be started.
#
# The values of MODE can be:
# - none: NUT is not configured, or use the Integrated Power Management, or use
# some external system to startup NUT components. So nothing is to be started.
2022-07-10 10:23:45 +03:00
# - standalone: This mode address a local only configuration, with 1 UPS
2010-03-26 01:20:59 +02:00
# protecting the local system. This implies to start the 3 NUT layers (driver,
# upsd and upsmon) and the matching configuration files. This mode can also
# address UPS redundancy.
# - netserver: same as for the standalone configuration, but also need
# some more network access controls (firewall, tcp-wrappers) and possibly a
# specific LISTEN directive in upsd.conf.
# Since this MODE is opened to the network, a special care should be applied
# to security concerns.
# - netclient: this mode only requires upsmon.
2012-06-01 16:55:19 +03:00
#
# IMPORTANT NOTE:
2022-07-10 10:23:45 +03:00
# This file is intended to be sourced by standard POSIX shell scripts (so
# there is no guaranteed `export VAR=VAL` syntax) and by systemd on Linux.
2012-06-01 16:55:19 +03:00
# You MUST NOT use spaces around the equal sign!
2010-03-26 01:20:59 +02:00
2012-06-01 16:55:19 +03:00
MODE=none
2022-07-10 10:23:45 +03:00
# Uncomment this to allow starting the service even if ups.conf has no device
# sections at the moment. This environment variable overrides the built-in
# "false" and an optional same-named default flag that can be set in upsd.conf:
#ALLOW_NO_DEVICE=true
#export ALLOW_NO_DEVICE