[INSTRM-1525] Use a common .pgpass file Created: 23/Feb/22 Updated: 23/Feb/22 |
|
| Status: | Open |
| Project: | Instrument control development |
| Component/s: | ics_launch |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Normal |
| Reporter: | cloomis | Assignee: | cloomis |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | SPS | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
In order to avoid putting postgres passwords in git we use ~/.pgpass files. The VMs are configured to have unshared /home/pfs, which makes that error prone. So we can move .pgpass to /software/.pgpass or /software/pgpass, and set PGPASSFILE=that in the shared and git controlled /software/ics_launch/bin/setup.sh. |