Skip to content

Commit

Permalink
add-condition in nfs mount pg (#8769)
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Shankar <[email protected]>
  • Loading branch information
vivekshankar1 authored Feb 3, 2025
1 parent eb1a00b commit 66f8746
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion components/automate-backend-deployment/habitat/plan.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,3 @@ do_strip() {




Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
sudo mkdir -p ${nfs_mount_path}/postgresql/pg_dump/

sudo mkdir -p ${nfs_mount_path}/postgresql/archive/

if [ ! -e "/hab/user/automate-ha-postgresql/config/user.toml" ]; then
sudo chown hab:hab -RL ${nfs_mount_path}/
fi

0 comments on commit 66f8746

Please sign in to comment.