mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
upgrade: Drop the unnecessary step that stops the old cluster.
The initial step in pg_upgradecluster stops the cluster for us; this removes the somewhat ugly hack we are otherwise forced into.
This commit is contained in:
committed by
Tim Abbott
parent
bf0f712c81
commit
0502b7a8d5
@@ -23,11 +23,6 @@ if pg_lsclusters -h | grep -qE "^$UPGRADE_TO\s+main\b"; then
|
||||
pg_dropcluster "$UPGRADE_TO" main --stop
|
||||
fi
|
||||
|
||||
# Work around `systemctl stop postgresql` being asynchronous, since
|
||||
# the pg_upgradecluster command fails if it is still running
|
||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=759725
|
||||
pg_ctlcluster "$UPGRADE_FROM" main stop
|
||||
|
||||
(
|
||||
# Two-stage application of puppet; we apply the bare-bones
|
||||
# postgresql configuration first, so that FTS will be configured
|
||||
|
||||
Reference in New Issue
Block a user