docs: clarify server data_dir config needs top-level data_dir cfg.

This commit is contained in:
James Rasell
2021-10-28 13:07:37 +02:00
parent c46c530a58
commit d7fa5ac12d

View File

@@ -40,11 +40,11 @@ server {
`1` does not provide any fault tolerance and is not recommended for production
use cases.
- `data_dir` `(string: "[data_dir]/server")` - Specifies the directory to use -
for server-specific data, including the replicated log. By default, this is -
the top-level [data_dir](/docs/configuration#data_dir)
suffixed with "server", like `"/opt/nomad/server"`. This must be an absolute
path.
- `data_dir` `(string: "[data_dir]/server")` - Specifies the directory to use
for server-specific data, including the replicated log. By default, this is
the top-level [data_dir](/docs/configuration#data_dir) suffixed with "server",
like `"/opt/nomad/server"`. The top-level option must be set, even when
setting this value. This must be an absolute path.
- `enabled` `(bool: false)` - Specifies if this agent should run in server mode.
All other server options depend on this value being set.