You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: images/nut-upsd/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,6 +51,7 @@ SDORDER | | UPS shutdown sequence, set to -1 to disable shutdown
51
51
SECRETNAME | nut-upsd-password | name of secret to use for API user
52
52
SERIAL | | hardware serial number of UPS
53
53
SERVER | master | master or slave priority for scripts
54
+
ULIMIT | 2048 | open-files ulimit
54
55
USER | nut | local user
55
56
VENDORID | | vendor ID for ups.conf
56
57
### Notes
@@ -115,6 +116,8 @@ EOF
115
116
udevadm control --reload-rules && udevadm trigger
116
117
```
117
118
119
+
When starting up under Debian trixie, an out-of-memory error can be prevented by setting the nofile ulimit to a smaller value than system default: see [issue #1672](https://github.com/networkupstools/nut/issues/1672). The default is set here to 2048.
120
+
118
121
### Secrets
119
122
120
123
If the API user needs a password, you have two ways to specify it: pass the value itself as environment variable API_PASSWORD, or define a Docker secret as follows:
0 commit comments