b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | #config driver_global 'driver_global' |
| 2 | # option user nut |
| 3 | |
| 4 | #config driver 'upsname' |
| 5 | # option driver usbhid-ups |
| 6 | # option port auto |
| 7 | # option enable_usb_serial 0 |
| 8 | |
| 9 | #config user |
| 10 | # option username upsuser |
| 11 | # option password upspassword |
| 12 | # option actions optional-action |
| 13 | # list instcmd optional-instant-command |
| 14 | # option upsmon slave|master |
| 15 | |
| 16 | #config listen_address |
| 17 | # option address ::1 |
| 18 | # option port 3493 |
| 19 | |
| 20 | #config upsd 'upsd' |
| 21 | # option maxage 15 |
| 22 | # option statepath /var/run/nut |
| 23 | # option maxconn 1024 |
| 24 | # option runas nut |
| 25 | # NB: certificates only apply to SSL-enabled version |
| 26 | # option certfile /usr/local/etc/upsd.pem |