* debian/patches/coverage_binary.patch: Refreshed.

* debian/patches/startup_scripts.patch: Likewise.
This commit is contained in:
Michael Banck 2018-09-21 11:18:33 +02:00
parent c480cdff80
commit ce1da1ca62
3 changed files with 8 additions and 6 deletions

2
debian/changelog vendored
View file

@ -8,6 +8,8 @@ patroni (1.5.0-1) UNRELEASED; urgency=medium
[ Michael Banck ]
* debian/patches/relax_requirements.patch:
* debian/patches/python3.7: Likewise.
* debian/patches/coverage_binary.patch: Refreshed.
* debian/patches/startup_scripts.patch: Likewise.
-- Christoph Berg <christoph.berg@credativ.de> Wed, 25 Jul 2018 12:00:10 +0200

View file

@ -11,7 +11,7 @@ Index: patroni/features/environment.py
stdout=self._log, stderr=subprocess.STDOUT, cwd=self._work_directory)
def stop(self, kill=False, timeout=15, postgres=False):
@@ -792,8 +792,8 @@ def before_all(context):
@@ -799,8 +799,8 @@ def before_all(context):
def after_all(context):
context.dcs_ctl.stop()

View file

@ -48,9 +48,9 @@ Index: patroni/extras/startup-scripts/patroni.service
[Service]
Type=simple
@@ -11,11 +8,7 @@ Type=simple
User=postgres
Group=postgres
@@ -16,11 +13,7 @@ EnvironmentFile=-/etc/patroni_env.conf
WorkingDirectory=~
-# Where to send early-startup messages from the server
-# This is normally controlled by the global default set by systemd
@ -59,5 +59,5 @@ Index: patroni/extras/startup-scripts/patroni.service
-ExecStart=/bin/patroni /etc/patroni.yml
+ExecStart=/usr/bin/patroni /etc/patroni/config.yml
# only kill the patroni process, not it's children, so it will gracefully stop postgres
KillMode=process
# Send HUP to reload from patroni.yml
ExecReload=/bin/kill -s HUP $MAINPID