Don Seiler and Alexander Kukushkin
4e8709b266
Adding reload functionality ( #726 )
...
This allows the config to be reloaded via `systemctl reload patroni`, sending SIGHUP to the patroni process. Tested on CentOS.
2018-06-30 23:16:42 +02:00
Björn Albers and Alexander Kukushkin
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
Alexander Kukushkin and GitHub
8da05ad785
Update haproxy.tmpl ( #614 )
...
connection to postgres should be closed forcibly when health-check fails
2018-01-25 15:31:02 +01:00
Alexander Kukushkin and GitHub
8e3511ca6b
Different minor fixes ( #551 )
...
* Use unix line endings
* Make flake8 happy
2017-11-02 16:24:17 +01:00
Philipp and Alexander Kukushkin
fed7a24889
Init.d script for Debian ( #441 )
2017-05-19 16:29:10 +02:00
jamessewell and Alexander Kukushkin
208c7abaab
Update the startup script timeouts ( #399 )
...
* Update the startup script shutdown / startup timeout to allow the current sync node time to release the role in synchronous_mode.
Without this change Patroni will be killed while waiting, and will leave
PostgreSQL up rather than stopping it.
* Updates to support strict sync mode.
If synchronous_mode_strict==true then 'patroni_dummy_host' will be written as synchronous_standby_names
when that last replication host dies.
* Oops, mixed two pull requests - backing out one
2017-04-27 14:30:54 +02:00
Alexander Kukushkin
4fbdd3f8a0
Add haproxy confd templates
2016-06-17 11:51:05 +02:00
Jan Keirse
2fc01137b7
add killmode to avoid restart issues
...
This fixes https://github.com/zalando/patroni/issues/167
2016-04-05 16:47:21 +02:00
Jan Keirse
753ba835f1
wrong comment about restart
2016-02-18 11:08:18 +01:00
Jan Keirse
e68e253d16
Add patroni.service file documentation.
2016-02-18 11:06:40 +01:00
Jan Keirse
eb1e678820
sample systemd service file
2016-02-18 11:04:41 +01:00
Josh Berkus
c4cc0be4fe
Added Upstart job for running patroni under Ubuntu 14.04 or 12.04.
2015-09-29 17:35:45 -07:00