mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-10-18 19:54:15 +02:00
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:
parent
916d39f5ce
commit
ec1f3e7832
|
@ -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 = ''
|
||||
|
|
Loading…
Reference in a new issue