summaryrefslogtreecommitdiffstats
path: root/net/nut/files/nut_server
blob: 45d286a6ac22f67c2af769c7048f9c2ce2796318 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#config driver_global 'driver_global'
#	option driverpath /usr/libexec/nut # compile-time default

#config driver 'upsname'
#	option driver usbhid-ups # example
#	option port auto # example
#	option enable_usb_serial 0 # example
#
# ### NOTE ###
# For USB UPSes it is necessary to properly configure
# productid and vendorid (and serial number if you have
# more than one device with the same productid and vendorid) in
# nut_server so that the hotplug script can give NUT
# permissions to access the UPS device(s)

#config user
#	option username upsuser
#	option password upspassword
#	option actions optional-action
#	list instcmd optional-instant-command
#	option upsmon secondary|primary

#config listen_address
#	option address ::1 # example
#	option port 3493 # compile-time default

# defaults for the upsd section are compile time defaults
# We only support one 'upsd' section and it must be named 'upsd'
#config upsd 'upsd'
#	option maxage 15
#	option statepath /var/run/nut
#	option maxconn 1024
#	option runas nut
# option interface_reload_delay 3000 # in milliseconds
# NB: certificates only apply to SSL-enabled version
#       option certfile /usr/local/etc/upsd.pem