mirror of
https://github.com/SuperSandro2000/nixos-modules.git
synced 2024-06-01 05:49:22 +02:00
postgres: improve commands to run after restart
This commit is contained in:
parent
08e62a61ba
commit
feef1d2d4d
|
@ -63,6 +63,11 @@ in
|
|||
--old-bindir ${oldBin} --new-bindir ${newBin} \
|
||||
${lib.concatStringsSep " " cfgu.extraArgs} \
|
||||
"$@"
|
||||
|
||||
echo "Run the following commands after setting:"
|
||||
echo 'services.postgresql.package = pkgs.postgresql_${cfgu.newPackage}'
|
||||
echo " sudo -u postgres vacuumdb --all --analyze-in-stages"
|
||||
echo " ${newData}/delete_old_cluster.sh"
|
||||
''
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user