* debian/pg_clonecluster_patroni: Create stub instance with start.conf set to
manual instead of disabled, in lines with pg_creatcluster_patroni.
This commit is contained in:
parent
70bf5293cd
commit
3be7688421
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
||||||
patroni (1.5.4-4) UNRELEASED; urgency=medium
|
patroni (1.5.4-4) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
*
|
[ Michael Banck ]
|
||||||
|
* debian/pg_clonecluster_patroni: Create stub instance with start.conf set to
|
||||||
|
manual instead of disabled, in lines with pg_creatcluster_patroni.
|
||||||
|
|
||||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Sun, 27 Jan 2019 14:40:18 +0100
|
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Sun, 27 Jan 2019 14:40:18 +0100
|
||||||
|
|
||||||
|
|
2
debian/pg_clonecluster_patroni
vendored
2
debian/pg_clonecluster_patroni
vendored
|
@ -40,5 +40,5 @@ then
|
||||||
pg_dropcluster $VERSION $CLUSTER
|
pg_dropcluster $VERSION $CLUSTER
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pg_createcluster --start-conf=disabled $VERSION $CLUSTER && rm -rf $DATADIR && pg_basebackup --pgdata $DATADIR -X stream --dbname=$CONNSTR
|
pg_createcluster --start-conf=manual $VERSION $CLUSTER && rm -rf $DATADIR && pg_basebackup --pgdata $DATADIR -X stream --dbname=$CONNSTR
|
||||||
exit $?
|
exit $?
|
||||||
|
|
Loading…
Reference in a new issue