mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-25 14:53:37 +00:00
add killmode to avoid restart issues
This fixes https://github.com/zalando/patroni/issues/167
This commit is contained in:
@@ -17,6 +17,9 @@ Group=postgres
|
||||
|
||||
ExecStart=/bin/patroni /etc/patroni.yml
|
||||
|
||||
# only kill the patroni process, not it's children, so it will gracefully stop postgres
|
||||
KillMode=process
|
||||
|
||||
# Give a reasonable amount of time for the server to start up/shut down
|
||||
TimeoutSec=10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user