modules/patroni: use exec
This commit is contained in:
parent
2c4deee9de
commit
0397f68ada
1 changed files with 1 additions and 1 deletions
|
@ -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 [{
|
||||||
|
|
Loading…
Reference in a new issue