Commit 3075114
committed
fix: run pgBackRest directory and log file setup in stage2_nix pass
The directory and log file creation tasks were gated on nixpkg_mode
only, so they were skipped during the stage 2 Nix provision pass
(nixpkg_mode=false, stage2_nix=true). SAA is installed in stage 2 but
had no log directory or pre-created log files to write to, causing
pgbackrest enable to fail immediately.
Extend both conditions to nixpkg_mode or stage2_nix so the paths are
created in whichever pass installs the software.1 parent 4e6d508 commit 3075114
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments