From 0397f68ada52b09301434b4174b4864a6632bdad Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 7 Aug 2022 19:56:23 +0200 Subject: [PATCH] modules/patroni: use exec --- 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 746d539..dec1fc1 100644 --- a/modules/patroni/default.nix +++ b/modules/patroni/default.nix @@ -237,7 +237,7 @@ in script = '' ${concatStringsSep "\n" (attrValues (mapAttrs (name: path: "export ${name}=\"$(<'${path}')\"") cfg.environmentFiles))} - ${patroni}/bin/patroni ${configFile} + exec ${patroni}/bin/patroni ${configFile} ''; serviceConfig = mkMerge [{