Files
patroni/extras
Björn Albers e5f2511764 Add WorkingDirectory to systemd sample config. (#686)
Otherwise `initdb` fails because it tries to create the data directory in the root directory where the postgres user has no permissions.
2018-06-04 16:36:41 +02:00
..
2018-01-25 15:31:02 +01:00
2016-06-17 11:51:05 +02:00

confd

confd directory contains haproxy template files for the confd -- lightweight configuration management tool You need to copy content of confd directory into /etcd/confd and run confd service:

$ confd -prefix=/service/$PATRONI_SCOPE -backend etcd -node $PATRONI_ETCD_HOST -interval=10

It will periodically update haproxy.cfg with the actual list of Patroni nodes from etcd and "reload" haproxy when it is necessary.

startup-scripts

startup-scripts directory contains startup scripts for various OSes and management tools for Patroni.