nixos/nomad: fix markup and remove suggestion

This commit is contained in:
Phillip Cloud 2021-01-19 07:21:31 -05:00
parent bddb7ac406
commit 5d0b3b7228

View file

@ -67,19 +67,19 @@ in
Configuration for Nomad. See the <link xlink:href="https://www.nomadproject.io/docs/configuration">documentation</link> Configuration for Nomad. See the <link xlink:href="https://www.nomadproject.io/docs/configuration">documentation</link>
for supported values. for supported values.
Notes about `data_dir`: Notes about <literal>data_dir</literal>:
If `data_dir` is set to a value other than the default value of If <literal>data_dir</literal> is set to a value other than the
`"/var/lib/nomad"` it is the Nomad cluster manager's responsibility default value of <literal>"/var/lib/nomad"</literal> it is the Nomad
to make sure that this directory exists and has the appropriate cluster manager's responsibility to make sure that this directory
permissions. One way to ensure this is the case to create the exists and has the appropriate permissions.
directory and adjust its permissions as needed using the
`ExecStartPre` feature of systemd.
Additionally, if `dropPrivileges` is `true` then `data_dir` Additionally, if <literal>dropPrivileges</literal> is
**cannot** be customized. Setting `dropPrivileges` to `true` enables <literal>true</literal> then <literal>data_dir</literal>
the `DynamicUser` feature of systemd which directly manages and <emphasis>cannot</emphasis> be customized. Setting
operates on `StateDirectory`. <literal>dropPrivileges</literal> to <literal>true</literal> enables
the <literal>DynamicUser</literal> feature of systemd which directly
manages and operates on <literal>StateDirectory</literal>.
''; '';
example = literalExample '' example = literalExample ''
{ {