* 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:
parent
d7342c78d4
commit
18f2d75275
@ -118,6 +118,8 @@ in
|
||||
|
||||
startOn = "started ${startDependency}";
|
||||
|
||||
environment = { TZ = config.time.timeZone; };
|
||||
|
||||
preStart =
|
||||
''
|
||||
if ! test -e ${cfg.dataDir}; then
|
||||
|
Loading…
Reference in New Issue
Block a user