From bddb7ac4066574c868091a5bbd10f770bdae0c32 Mon Sep 17 00:00:00 2001 From: Phillip Cloud Date: Mon, 18 Jan 2021 09:17:32 -0500 Subject: [PATCH] nixos/nomad: fix typo and spell out ExecStartPre usage --- nixos/modules/services/networking/nomad.nix | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/nixos/modules/services/networking/nomad.nix b/nixos/modules/services/networking/nomad.nix index 3f06490faa7..80dcbe16f12 100644 --- a/nixos/modules/services/networking/nomad.nix +++ b/nixos/modules/services/networking/nomad.nix @@ -71,9 +71,10 @@ in If `data_dir` is set to a value other than the default value of `"/var/lib/nomad"` it is the Nomad cluster manager's responsibility - to make sure that this directory exist and has the appropriate - permissions. One way to do this is with the `ExecStartPre` feature of - systemd. + to make sure that this directory exists and has the appropriate + permissions. One way to ensure this is the case to create the + directory and adjust its permissions as needed using the + `ExecStartPre` feature of systemd. Additionally, if `dropPrivileges` is `true` then `data_dir` **cannot** be customized. Setting `dropPrivileges` to `true` enables