Skip to content

Commit

Permalink
docs/man/upsd.conf.txt, conf/upsd.conf.sample: clarify STATEPATH enta…
Browse files Browse the repository at this point in the history
…nglement of upsd and drivers, and envvar override [networkupstools#694]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Dec 29, 2024
1 parent 4e9eb9a commit 760c7fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conf/upsd.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@
#
# Tell upsd to look for the driver state sockets in 'path' rather
# than the default that was compiled into the program.
# Note that the drivers must use the same path.
# Environment variable NUT_STATEPATH set by caller can override this setting.

# =======================================================================
# LISTEN <IP address or name> [<port>]
Expand Down
5 changes: 5 additions & 0 deletions docs/man/upsd.conf.txt
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,11 @@ used by init-scripts and service unit method scripts.

Tell upsd to look for the driver state sockets in 'path' rather
than the default that was compiled into the program.
+
Note that the drivers must use the same path.
+
Environment variable `NUT_STATEPATH` set by caller (e.g. init script
or service method) can override this setting.

"LISTEN 'interface' 'port'"::

Expand Down

0 comments on commit 760c7fd

Please sign in to comment.