whoops
This commit is contained in:
parent
b643e0aee3
commit
e54ad9812b
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue