How to modify the postgresql.conf?

Not applicable

I want enable the archive_mode and define an archive_command. I created a file customer/application/postgresql.properties and I defined the entries. After restart the postgresql.conf does not changed. What else can I do?

0 2 780
2 REPLIES 2

It's hard to say what went wrong, as you didn't specify which entries you defined, and which server did you restart.

When I add:

conf_postgresql_archive_mode=on

conf/postgresql.conf+archive_command=test

to the

customer/application/postgresql.properties

and run

apigee-service apigee-postgresql restart

It works as expected. Changes archive_mode to on, as it is uncommented and adds archive_comment=test to the end of the .conf file, as it is commented.

See http://docs.apigee.com/private-cloud/latest/how-configure-edge for details.

Not applicable

Thank You for your answer.

conf_postgresql_archive_mode=on does not work for me. I have complete the postgresql.properties file with this:

conf/postgresql.conf+archive_mode=on
conf/postgresql.conf+archive_command='test ...'

Now it works as expected.