Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a99d45b

Browse files
committed
Small update on suggested startup file locations
Debian/Ubuntu don't have a /etc/rc.d/ directory, so add some alternative names as suggestions.
1 parent 469a108 commit a99d45b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/runtime.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ pg_ctl start -l logfile
282282
Different systems have different conventions for starting up daemons
283283
at boot time. Many systems have a file
284284
<filename>/etc/rc.local</filename> or
285-
<filename>/etc/rc.d/rc.local</filename>. Others use
285+
<filename>/etc/rc.d/rc.local</filename>. Others use <filename>init.d</filename> or
286286
<filename>rc.d</> directories. Whatever you do, the server must be
287287
run by the <productname>PostgreSQL</productname> user account
288288
<emphasis>and not by root</emphasis> or any other user. Therefore you
@@ -329,7 +329,8 @@ fi
329329
<programlisting>
330330
/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data
331331
</programlisting>
332-
to <filename>/etc/rc.d/rc.local</filename> or look at the file
332+
to <filename>/etc/rc.d/rc.local</filename>
333+
or <filename>/etc/rc.local</filename> or look at the file
333334
<filename>contrib/start-scripts/linux</filename> in the
334335
<productname>PostgreSQL</productname> source distribution.
335336
</para>

0 commit comments

Comments
 (0)