docs(datadir): Add context to this gotcha

This commit is contained in:
Sridhar Ratnakumar 2024-06-04 13:55:42 -04:00 committed by GitHub
parent f7e6af5ec3
commit 3412c51029
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,4 +30,4 @@ The data directory structure will look like this:
{#socket-path}
### Unix-domain socket path is too long
unix socket length is limited to [about 100 chars](https://linux.die.net/man/7/unix). If your data directory is nested too deep, you will have to set `dataDir` option of the service to a shorter path as a workaround.
Some services create unix domain socket files under the data directory. As the unix socket length is limited to [about 100 chars](https://linux.die.net/man/7/unix), if your data directory is nested too deep, you will have to set `dataDir` option of the service to a shorter path as a workaround.