From 4eaa162819a4f54298a46c654e621bd6d1c41eef Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 23 Aug 2023 17:03:28 +0200 Subject: [PATCH] modules/patroni: use strictMounts --- modules/patroni/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/patroni/default.nix b/modules/patroni/default.nix index 7fd332f..0a2f364 100644 --- a/modules/patroni/default.nix +++ b/modules/patroni/default.nix @@ -271,7 +271,7 @@ in systemd-notify EXTEND_TIMEOUT_USEC=300000000 ''; - unitConfig.RequiresMountsFor = [ cfg.dataDir cfg.postgresqlDataDir ]; + strictMounts = [ cfg.dataDir cfg.postgresqlDataDir ]; serviceConfig = mkMerge [{ User = cfg.user;