-
Notifications
You must be signed in to change notification settings - Fork 10
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
Custom PostgreSQL database location is ignored #66
Comments
OK, I will check a solution to modify the value of the data directory hardcoded in the service file. |
I think we should avoid modify |
Yes I think it is better not to modify Generally the default |
My recommandation is to keep the default values for use:
``postgresql-{{ postgresql_version }} Otherwise if we would like to custom |
From the documentation: "If you wish, you can specify the configuration file names and locations individually using the parameters So the data folder can be configured with |
When you stop or start an PostgreSQL instance, you need to know the |
Configuring a custom database location with
postgresql_data_dir
is ignored since the value is hardcoded in the service file/usr/lib/systemd/system/postgresql-12.service
withEnvironment=PGDATA=/var/lib/pgsql/12/data/
.The service file should be templated.
The text was updated successfully, but these errors were encountered: