nixpkgs/nixos/modules
Oliver Charles e206684110 Use PostgreSQL 9.3's pg_isready to wait for connectivity
The postgresql module has a postStart section that waits for a database
to accept connections before continuing. However, this assumes various
properties about the database - specifically the database user
and (implicitly) the database name. This means that for old
installations, this command fails because there is no 'postgres' user,
and the service never starts.

While 7deff39 does create the 'postgres' user, a better solution is to
use `pg_isready`, who's sole purpose is to check if the database is
accepting connections. This has no dependency on users, so should be
more robust.
2014-04-06 12:38:02 +01:00
..
config power-management: Don't enable acpid. 2014-03-15 12:17:00 +01:00
hardware Upgrade bumblebee and add nixos module 2014-02-09 15:09:41 +01:00
installer nixos-hardware-scan: Detect QEMU 2014-03-30 17:27:18 +02:00
misc nixos: add minecraft-server service 2014-03-29 05:31:27 -05:00
profiles Another attempt to fix the installer test 2014-03-30 16:53:23 +02:00
programs Merge branch 'zsh' of git://github.com/ttuegel/nixpkgs 2014-03-15 13:11:38 -04:00
security nixos: add Duo Security module 2014-03-16 07:11:50 -05:00
services Use PostgreSQL 9.3's pg_isready to wait for connectivity 2014-04-06 12:38:02 +01:00
system systemd: Add support for path units. 2014-03-31 12:33:25 +02:00
tasks nixos: Add ZFS auto-snapshotting module 2014-03-15 01:56:42 +01:00
testing Rename linuxManualConfig to buildLinux 2014-01-21 20:05:55 -05:00
virtualisation Fix VirtualBox image generation 2014-03-31 11:15:11 +02:00
module-list.nix nixos: add minecraft-server service 2014-03-29 05:31:27 -05:00
rename.nix move windowManager.xbmc to desktopManager.xbmc 2014-03-12 09:20:59 +01:00