-
Notifications
You must be signed in to change notification settings - Fork 583
Changes in PostgreSQL custom systemd config should trigger daemon-reload #443
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Ok, I'm fixing this. But errors that popped out for Fedora weren't caused by my commits. |
|
Build fail related to: #444 |
|
For centOS 6 (or other RHEL upstart) service manager we need /etc/sysconfig/pgsql/clustername template to override default variables: |
b857b52 to
73af907
Compare
|
I made a mess with commits, but now it works with CentOS 6 and 7. |
|
Could you rebase this against master (with #447), as Fedora was killing the build |
…RedHat" ansible_distribution_major_version >= "7"
Same rule for Fedora and RHEL/CentOS
|
Rebase done! |
|
This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution! |
|
This pr has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details. |
So I noticed at the first play (CentOS) that configuration settings were not applied because systemd applied settings from data dir instead of /etc:
So we need extra handler for systemd config reload, and 'PostgreSQL | Use the conf directory when starting the Postgres service | RedHat' task should notify it on every systemd config change.