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}'
|
hba_file = '${pkgs.writeText "pg_hba.conf" cfg.authentication}'
|
||||||
ident_file = '${pkgs.writeText "pg_ident.conf" cfg.identMap}'
|
ident_file = '${pkgs.writeText "pg_ident.conf" cfg.identMap}'
|
||||||
log_destination = 'syslog'
|
log_destination = 'stderr'
|
||||||
${cfg.extraConfig}
|
${cfg.extraConfig}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -66,13 +66,6 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
logDir = mkOption {
|
|
||||||
default = "/var/log/postgresql";
|
|
||||||
description = ''
|
|
||||||
Log directory for PostgreSQL.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
dataDir = mkOption {
|
dataDir = mkOption {
|
||||||
default = "/var/db/postgresql";
|
default = "/var/db/postgresql";
|
||||||
description = ''
|
description = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user