Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document redis options: port and unixSocket #358

Closed
srid opened this issue Oct 11, 2024 · 0 comments · Fixed by #359
Closed

Document redis options: port and unixSocket #358

srid opened this issue Oct 11, 2024 · 0 comments · Fixed by #359
Labels
documentation Improvements or additions to documentation

Comments

@srid
Copy link
Member

srid commented Oct 11, 2024

And certainly explain this as well:

port = 0 disables listening on the TCP port. Setting both is also allowed by redis, in which case it listens on both unixSocket and TCP port. Hence I just display a warning if both are set instead of asserting

apply = v:
lib.warnIf ((config.unixSocket != null) && (v != 0)) ''
`${name}` is listening on both the TCP port and Unix socket, set `port = 0;` to listen on only the Unix socket
''
v;

Originally posted by @shivaraj-bh in #353 (comment)

@srid srid added the documentation Improvements or additions to documentation label Oct 11, 2024
@srid srid changed the title Document redis port and unixSocket Document redis options: port and unixSocket Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant