From ec1f3e78322eefbc16321ee55a5594b97e7131bb Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 14 Jul 2013 04:57:50 +0200 Subject: [PATCH] postgresql: Log to stderr by default. Now systemctl status will properly pick up the right logs. Signed-off-by: aszlig --- modules/services/databases/postgresql.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/services/databases/postgresql.nix b/modules/services/databases/postgresql.nix index 28ea4b7dcf02..bac32626254d 100644 --- a/modules/services/databases/postgresql.nix +++ b/modules/services/databases/postgresql.nix @@ -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 = ''