postgresql: Log to stderr by default.

Now systemctl status will properly pick up the right logs.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2013-07-14 04:57:50 +02:00
parent 916d39f5ce
commit ec1f3e7832
No known key found for this signature in database
GPG Key ID: D0EBD0EC8C2DC961

@ -29,7 +29,7 @@ let
''
hba_file = '${pkgs.writeText "pg_hba.conf" cfg.authentication}'
ident_file = '${pkgs.writeText "pg_ident.conf" cfg.identMap}'
log_destination = 'syslog'
log_destination = 'stderr'
${cfg.extraConfig}
'';
@ -66,13 +66,6 @@ in
'';
};
logDir = mkOption {
default = "/var/log/postgresql";
description = ''
Log directory for PostgreSQL.
'';
};
dataDir = mkOption {
default = "/var/db/postgresql";
description = ''