Reload postgresql server instead of restarting it

In case of changes in postgresql.conf and pg_hba.conf the
postgresql will now reload instead of restart.
This commit is contained in:
Dennis Ahrens 2016-05-25 11:12:53 +02:00
parent e9e41eb12c
commit 52f27d2df7

View file

@ -40,7 +40,8 @@ postgresql-initdb:
run-postgresql:
service.running:
- enable: true
- enable: True
- reload: True
- name: {{ postgres.service }}
- require:
- pkg: install-postgresql