mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
Decrease PostgreSQL start check interval
This commit is contained in:
parent
2326c6da2b
commit
990ec8cc4e
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user