[release-notes] Improved prose in setting up multiple PostgreSQL servers - BZ#743618
John J. McDonough
jjmcd at fedoraproject.org
Tue Oct 11 15:22:21 UTC 2011
commit f74aaad8ceee80f7bcc80e19845f42e40406947c
Author: John J. McDonough <jjmcd at fedoraproject.org>
Date: Tue Oct 11 11:22:15 2011 -0400
Improved prose in setting up multiple PostgreSQL servers - BZ#743618
en-US/Database_Servers.xml | 21 +++++++++++++++++++--
en-US/Revision_History.xml | 1 +
2 files changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/en-US/Database_Servers.xml b/en-US/Database_Servers.xml
index 3724dc8..bbcad5f 100644
--- a/en-US/Database_Servers.xml
+++ b/en-US/Database_Servers.xml
@@ -43,8 +43,21 @@ sudo postgresql-setup initdb
</para>
<para>
- If you need to run more than one postgresql server on the same machine, you can duplicate and modify the <filename>postgresql.service</filename> file, as is customary with <package>systemd</package> services. (Remember that custom service files should go into <filename>/etc/systemd/system/</filename> not <filename>/lib/systemd/system/</filename>.) Notice that PGDATA and PGPORT settings for alternate servers must now be specified in the custom service files; there is no longer any use of files in <filename>/etc/sysconfig/pgsql/</filename>. </para>
- <para>You can use <filename>postgresql-setup</filename> for an alternate server by adding the name of the new service file to the command, for instance </para>
+ If you need to run more than one postgresql server on the same
+ machine, you can duplicate and modify the
+ <filename>postgresql.service</filename> file, as is customary
+ with <package>systemd</package> services. (Remember that custom
+ service files should go into
+ <filename>/etc/systemd/system/</filename> not
+ <filename>/lib/systemd/system/</filename>.) Notice that PGDATA
+ and PGPORT settings for alternate servers must now be specified
+ in the custom service files.
+ </para>
+ <para>
+ Copy <filename>/lib/systemd/postgresl.service</filename> to
+ <filename>/etc/systemd/myservice.service</filename>, adjust
+ PGDATA and PGPORT in the new file. To set it up, run
+ </para>
<para>
@@ -55,6 +68,10 @@ sudo postgresql-setup initdb myservice
</para>
<para>
<filename>postgresql-setup</filename> will then extract the PGDATA setting from that service file instead of <filename>postgresql.service</filename>. </para>
+ <para>
+ The files in <filename>/etc/sysconfig/pgsql/</filename> are no
+ longer used.
+ </para>
</section>
</section>
diff --git a/en-US/Revision_History.xml b/en-US/Revision_History.xml
index d63eebb..48f6f67 100644
--- a/en-US/Revision_History.xml
+++ b/en-US/Revision_History.xml
@@ -20,6 +20,7 @@
<member>Various typos - BZ#741975</member>
<member>Better prose on systemd database handling -
BZ#743614</member>
+ <member>Improved prose in setting up multiple PostgreSQL servers - BZ#743618</member>
</simplelist>
</revdescription>
</revision>
More information about the docs-commits
mailing list