* debian/pg_createconfig_patroni: Set owner of Patroni configuration file to
postgres.
This commit is contained in:
parent
182ad5782e
commit
4724130eb7
4
debian/changelog
vendored
4
debian/changelog
vendored
|
@ -1,6 +1,8 @@
|
|||
patroni (1.5.3-2) UNRELEASED; urgency=medium
|
||||
|
||||
*
|
||||
[ Michael Banck ]
|
||||
* debian/pg_createconfig_patroni: Set owner of Patroni configuration file to
|
||||
postgres.
|
||||
|
||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Mon, 14 Jan 2019 12:24:56 +0100
|
||||
|
||||
|
|
4
debian/pg_createconfig_patroni
vendored
4
debian/pg_createconfig_patroni
vendored
|
@ -79,3 +79,7 @@ cat /etc/patroni/config.yml.in | \
|
|||
-e s/@CLUSTER@/${CLUSTER}/g \
|
||||
-e s/@HOSTIP@/${HOSTIP}/g \
|
||||
>> $CONFIG_FILE
|
||||
|
||||
# Set permissions
|
||||
chown postgres:postgres $CONFIG_FILE
|
||||
chmod 660 $CONFIG_FILE
|
||||
|
|
Loading…
Reference in a new issue