Decrease PostgreSQL start check interval

This commit is contained in:
Eelco Dolstra 2012-10-01 17:32:03 -04:00
parent 2326c6da2b
commit 990ec8cc4e

View File

@ -156,7 +156,7 @@ in
environment.systemPackages = [postgresql]; environment.systemPackages = [postgresql];
boot.systemd.services.postgresql = boot.systemd.services.postgresql =
{ description = "PostgreSQL server"; { description = "PostgreSQL";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
after = [ "network.target" "fs.target" ]; after = [ "network.target" "fs.target" ];
@ -200,7 +200,7 @@ in
postStart = postStart =
'' ''
while ! psql postgres -c ""; do while ! psql postgres -c ""; do
sleep 1 sleep 0.1
done done
''; '';