From b54a120a82f22357248eebc3517f547c81cf9d24 Mon Sep 17 00:00:00 2001 From: Aaron Andersen Date: Tue, 3 Sep 2019 11:57:57 -0400 Subject: [PATCH] nixos/zookeeper: recursively set permissions and ownership on dataDir --- nixos/modules/services/misc/zookeeper.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/services/misc/zookeeper.nix b/nixos/modules/services/misc/zookeeper.nix index 50c84e3c6b8..5d91e44a199 100644 --- a/nixos/modules/services/misc/zookeeper.nix +++ b/nixos/modules/services/misc/zookeeper.nix @@ -121,6 +121,7 @@ in { systemd.tmpfiles.rules = [ "d '${cfg.dataDir}' 0700 zookeeper - - -" + "Z '${cfg.dataDir}' 0700 zookeeper - - -" ]; systemd.services.zookeeper = {