* debian/pg_createcluster_patroni, debian/pg_clonecluster_patroni: Set

start mode to disabled.
This commit is contained in:
Michael Banck 2018-11-10 17:31:22 +01:00
parent a9e6731ada
commit efc6f5da3e
3 changed files with 4 additions and 2 deletions

2
debian/changelog vendored
View file

@ -2,6 +2,8 @@ patroni (1.5.1-2) UNRELEASED; urgency=medium
[ Michael Banck ]
* debian/pg_createconfig_patroni: Make variable-substitution globally.
* debian/pg_createcluster_patroni, debian/pg_clonecluster_patroni: Set
start mode to disabled.
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Mon, 05 Nov 2018 11:43:09 +0100

View file

@ -40,5 +40,5 @@ then
pg_dropcluster $VERSION $CLUSTER
fi
pg_createcluster $VERSION $CLUSTER && rm -rf $DATADIR && pg_basebackup --pgdata $DATADIR -X stream --dbname=$CONNSTR
pg_createcluster --start-conf=disabled $VERSION $CLUSTER && rm -rf $DATADIR && pg_basebackup --pgdata $DATADIR -X stream --dbname=$CONNSTR
exit $?

View file

@ -27,5 +27,5 @@ else
CLUSTER=$(echo $SCOPE | sed -e 's/.*\///')
fi
pg_createcluster $VERSION $CLUSTER
pg_createcluster --start-conf=disabled $VERSION $CLUSTER
exit $?