modules/patroni: use exec

This commit is contained in:
Max Headroom 2022-08-07 19:56:23 +02:00
parent 2c4deee9de
commit 0397f68ada

View file

@ -237,7 +237,7 @@ in
script = '' script = ''
${concatStringsSep "\n" (attrValues (mapAttrs (name: path: "export ${name}=\"$(<'${path}')\"") cfg.environmentFiles))} ${concatStringsSep "\n" (attrValues (mapAttrs (name: path: "export ${name}=\"$(<'${path}')\"") cfg.environmentFiles))}
${patroni}/bin/patroni ${configFile} exec ${patroni}/bin/patroni ${configFile}
''; '';
serviceConfig = mkMerge [{ serviceConfig = mkMerge [{