mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
* 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
startup scripts for Patroni
This directory contains sample startup scripts for various OSes and management tools for Patroni.
Scripts supplied:
patroni.upstart.conf
Upstart job for Ubuntu 12.04 or 14.04. Requires Upstart > 1.4. Intended for systems where Patroni has been installed on a base system, rather than in Docker.
patroni.service
Systemd service file, to be copied to /etc/systemd/system/patroni.service, tested on Centos 7.1 with Patroni installed from pip.