11<!--
2- $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.262 2004/04/22 04:18:37 momjian Exp $
2+ $PostgreSQL: pgsql/doc/src/sgml/runtime.sgml,v 1.263 2004/04/29 04:37:09 tgl Exp $
33-->
44
55<Chapter Id="runtime">
@@ -166,17 +166,17 @@ $ <userinput>postmaster -D /usr/local/pgsql/data</userinput>
166166 which will leave the server running in the foreground. This must be
167167 done while logged into the <productname>PostgreSQL</productname> user
168168 account. Without <option>-D</option>, the server will try to use
169- the data directoryin the environment variable <envar>PGDATA</envar>.
170- Ifneither of these succeed , it will fail.
169+ the data directorynamed by the environment variable <envar>PGDATA</envar>.
170+ Ifthat variable is not provided either , it will fail.
171171 </para>
172172
173173 <para>
174- To start the <command>postmaster</command> in the
175- background, use the usual shell syntax:
174+ Normally it is better to start the <command>postmaster</command> in the
175+ background. For this , use the usual shell syntax:
176176<screen>
177177$ <userinput>postmaster -D /usr/local/pgsql/data >logfile 2>&1 &</userinput>
178178</screen>
179- It isan important to store the server's <systemitem>stdout</> and
179+ It is important to store the server's <systemitem>stdout</> and
180180 <systemitem>stderr</> output somewhere, as shown above. It will help
181181 for auditing purposes and to diagnose problems. (See <xref
182182 linkend="logfile-maintenance"> for a more thorough discussion of log
@@ -206,11 +206,11 @@ pg_ctl start -l logfile
206206 <para>
207207 Normally, you will want to start the database server when the
208208 computer boots.<indexterm><primary>booting</><secondary>starting
209- the server during</></> Autostart scripts are operating
210- system-specific. There are a few distributed with
209+ the server during</></> Autostart scripts are operating-system-specific.
210+ There are a few distributed with
211211 <productname>PostgreSQL</productname> in the
212- <filename>contrib/start-scripts</> directory.This may require root
213- privileges.
212+ <filename>contrib/start-scripts</> directory.Installing one will require
213+ root privileges.
214214 </para>
215215
216216 <para>
@@ -229,9 +229,9 @@ su -c 'pg_ctl start -D /usr/local/pgsql/data -l serverlog' postgres
229229 </para>
230230
231231 <para>
232- Here are a few more operating system specific suggestions. (Always
233- replace these with the proper installation directory and the user
234- name.)
232+ Here are a few more operating- system- specific suggestions. (In each
233+ case be sure to use the proper installation directory and user
234+ name where we show generic values .)
235235
236236 <itemizedlist>
237237 <listitem>