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