mirror of
https://github.com/saltstack-formulas/postgres-formula.git
synced 2025-04-17 10:10:31 +00:00
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:
parent
e9e41eb12c
commit
52f27d2df7
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ postgresql-initdb:
|
|||
|
||||
run-postgresql:
|
||||
service.running:
|
||||
- enable: true
|
||||
- enable: True
|
||||
- reload: True
|
||||
- name: {{ postgres.service }}
|
||||
- require:
|
||||
- pkg: install-postgresql
|
||||
|
|
Loading…
Add table
Reference in a new issue