table of contents
NUT.CONF(5) | NUT Manual | NUT.CONF(5) |
NAME¶
nut.conf - UPS definitions for Network UPS Tools
DESCRIPTION¶
This file attempts to standardize the various files being found in different installations, like /etc/default/nut on Debian based systems and /etc/sysconfig/ups on RedHat based systems.
Distribution’s init script should source this file in order to determine which components have to be started.
Blank lines are ignored. Lines with a hash (#) character at the 1st position of the line are ignored, too. They can be used to add comments.
IMPORTANT NOTE¶
This file is intended to be sourced by shell scripts. You MUST NOT use spaces around the equal sign!
Refer to the EXAMPLE section for illustrations.
DIRECTIVES¶
MODE
none
standalone
netserver
netclient
ALLOW_NO_DEVICE
If you want a data server always running and responding on the network, even if it initially has nothing to serve (may be live-reloaded later, when devices become configured), this option is for you.
ALLOW_NOT_ALL_LISTENERS
If you want a data server always running, even if it would potentially not serve all clients on every uptime, this option is for you (note you would have to restart upsd to pick up the `LISTEN`ed IP address if it appears later).
Probably configuring LISTEN * is a better choice in such cases.
UPSD_OPTIONS
UPSMON_OPTIONS
POWEROFF_WAIT
Warning
this workaround might be dangerous under some circumstances. Please read http://bugs.debian.org/358696 for more details.
POWEROFF_QUIET
EXAMPLE¶
# /etc/nut/nut.conf. See nut.conf(5)
MODE=none
UPSD_OPTIONS=""
UPSMON_OPTIONS=""
# POWEROFF_WAIT=15m
INTEGRATION¶
An init script, such as /etc/init.d/nut, is expected to source this file in order to determine which components have to be started.
SEE ALSO¶
ups.conf(5), upsd.conf(5), upsd.users(5), upsmon.conf(5)
Internet resources:¶
The NUT (Network UPS Tools) home page: https://www.networkupstools.org/
09/29/2024 | Network UPS Tools 2.8.2 |