nixpkgs/nixos/modules/services
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
..
amqp nixos/rabbitmq: rewrite 2014-03-29 10:56:07 +01:00
audio
backup almir: correctly set PYTHONPATH 2014-03-21 18:02:15 +01:00
continuous-integration/jenkins remove users.jenkins config start on slave config. 2014-03-13 13:01:50 -07:00
databases Use PostgreSQL 9.3's pg_isready to wait for connectivity 2014-04-06 12:38:02 +01:00
games nixos: add minecraft-server service 2014-03-29 05:31:27 -05:00
hardware Merge branch 'cache.pcscd' of git://github.com/wkennington/nixpkgs 2014-03-28 23:45:00 -04:00
logging nixos: add uid for logcheck and only create a user for the default user 2014-02-11 14:19:06 +01:00
mail opensmtpd: Add sendmail to systemPackages 2014-02-20 06:17:15 -05:00
misc Revert "nixos-manual: show manual on tty8 by default" 2014-03-17 12:45:57 +01:00
monitoring Merge branch 'nixos/statsd/statsd_port_fix' of git://github.com/offlinehacker/nixpkgs 2014-03-19 18:00:49 -04:00
network-filesystems OpenAFS client fixes 2014-03-14 14:40:17 +01:00
networking Merge branch 'nixos/containers/fix1' of git://github.com/offlinehacker/nixpkgs 2014-03-28 23:39:01 -04:00
printing Add some packages needed by some generic HP PCL drivers 2014-02-11 01:34:19 +04:00
scheduling
search solr module: Activate JSP support in Winstone 2014-03-21 12:04:52 +01:00
security Adds a service for haveged, the entropy daemon 2014-01-17 22:10:52 +11:00
system nixos/nscd: add option to change nscd config 2014-02-02 15:31:55 +01:00
torrent
ttys autovt@.service really has to be a symlink 2014-03-13 00:19:10 +01:00
web-servers nginx module: Enable modularly specifying servers 2014-03-17 23:31:56 -04:00
x11 Merge master into x-updates 2014-04-01 10:49:31 +02:00