summaryrefslogtreecommitdiffstats
path: root/net/nut/files/nut_server
blob: b45062b61abe75ea38ea471d0311626b145817a6 (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
37
38
39
40
41
42
#config driver_global 'driver_global'

# ### 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)

# example USB UPS configuration
#config driver 'upsname'
#	option driver usbhid-ups
#	option port auto
#	option productid 12ab # USB 4-digit hex productId
#	option vendorid 34cd # USB 4-digit hex vendorId

# Configuration for UPS connected to serial-USB
#	option enable_usb_serial 0


#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
#	option triggerlist all # not configured by default