From e54ad9812bf4f91782cde477f405e015ee5cbdbc Mon Sep 17 00:00:00 2001 From: danbst Date: Thu, 25 Jul 2019 00:17:01 +0300 Subject: [PATCH] whoops --- nixos/modules/services/databases/postgresql.nix | 1 - nixos/tests/postgresql.nix | 1 - 2 files changed, 2 deletions(-) diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix index eb1ac6bcb30..510e8f17133 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -339,7 +339,6 @@ in ln -sfn "${pkgs.writeText "recovery.conf" cfg.recoveryConfig}" \ "${cfg.dataDir}/recovery.conf" ''} - echo chmod ${dirMode} "${cfg.dataDir}" chmod ${dirMode} "${cfg.dataDir}" exec postgres diff --git a/nixos/tests/postgresql.nix b/nixos/tests/postgresql.nix index 433a64e9fab..a787d0f5976 100644 --- a/nixos/tests/postgresql.nix +++ b/nixos/tests/postgresql.nix @@ -106,7 +106,6 @@ in $machine->succeed("${c1}/bin/switch-to-configuration test >&2"); $machine->succeed("journalctl -u postgresql | grep -q -i stopped"); # was restarted $machine->succeed("echo select 1 | sudo -u postgres psql"); # works after restart - $machine->succeed("sudo -u admin ls -la / >&2"); $machine->succeed("sudo -u admin ls ${dataDir}"); $machine->shutdown;