Merge pull request #169 from jankeirse/master

Add KillMode to avoid issues when restarting
This commit is contained in:
Alexander Kukushkin
2016-04-05 17:04:09 +02:00
+3
View File
@@ -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