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:
@@ -40,7 +40,8 @@ postgresql-initdb:
|
|||||||
|
|
||||||
run-postgresql:
|
run-postgresql:
|
||||||
service.running:
|
service.running:
|
||||||
- enable: true
|
- enable: True
|
||||||
|
- reload: True
|
||||||
- name: {{ postgres.service }}
|
- name: {{ postgres.service }}
|
||||||
- require:
|
- require:
|
||||||
- pkg: install-postgresql
|
- pkg: install-postgresql
|
||||||
|
|||||||
Reference in New Issue
Block a user