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 [{