Skip to content

Commit

Permalink
fix(deployment): Fix init.sh for replica
Browse files Browse the repository at this point in the history
  • Loading branch information
tparsa committed Oct 1, 2023
1 parent a3430be commit 69a4185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deployment/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ if [[ $(hostname) == "master" ]]; then
EOF
else
pg_lsclusters
pg_ctlcluster 12 main stop
pg_ctlcluster 12 main restart
echo "Don't forget to run postgresql manually!"
echo "Run pg_ctlcluster 12 main stop && pg_ctlcluster 12 main restart"
fi
Expand Down

0 comments on commit 69a4185

Please sign in to comment.