1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

* Set a timezone in the PostgreSQL job. Otherwise database

initialisation will be incredibly slow (minutes instead of
  seconds).  An strace shows that it's continuously looking up
  timezone information if TZ is empty.

svn path=/nixos/branches/upstart-0.6/; revision=18235
This commit is contained in:
Eelco Dolstra 2009-11-06 22:56:47 +00:00
parent d7342c78d4
commit 18f2d75275

View file

@ -118,6 +118,8 @@ in
startOn = "started ${startDependency}";
environment = { TZ = config.time.timeZone; };
preStart =
''
if ! test -e ${cfg.dataDir}; then