diff --git a/modules/services/databases/postgresql.nix b/modules/services/databases/postgresql.nix index 66bb722782a9..c34ae9037f26 100644 --- a/modules/services/databases/postgresql.nix +++ b/modules/services/databases/postgresql.nix @@ -156,7 +156,7 @@ in environment.systemPackages = [postgresql]; boot.systemd.services.postgresql = - { description = "PostgreSQL server"; + { description = "PostgreSQL"; wantedBy = [ "multi-user.target" ]; after = [ "network.target" "fs.target" ]; @@ -200,7 +200,7 @@ in postStart = '' while ! psql postgres -c ""; do - sleep 1 + sleep 0.1 done '';