aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2011-07-14 19:07:39 +0300
committerPeter Eisentraut <peter_e@gmx.net>2011-07-14 19:07:39 +0300
commita99d45b805ae3ca230d54222fd25a020fcaa6d5c (patch)
tree5f460518cc3454272ddc2039ae73633b81ff445b
parent469a1087e26fb4e17db9449c05fd9b0df2ab5b0c (diff)
downloadpostgresql-a99d45b805ae3ca230d54222fd25a020fcaa6d5c.tar.gz
postgresql-a99d45b805ae3ca230d54222fd25a020fcaa6d5c.zip
Small update on suggested startup file locations
Debian/Ubuntu don't have a /etc/rc.d/ directory, so add some alternative names as suggestions.
-rw-r--r--doc/src/sgml/runtime.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml
index ef83206bbc9..8f85df64da4 100644
--- a/doc/src/sgml/runtime.sgml
+++ b/doc/src/sgml/runtime.sgml
@@ -282,7 +282,7 @@ pg_ctl start -l logfile
Different systems have different conventions for starting up daemons
at boot time. Many systems have a file
<filename>/etc/rc.local</filename> or
- <filename>/etc/rc.d/rc.local</filename>. Others use
+ <filename>/etc/rc.d/rc.local</filename>. Others use <filename>init.d</filename> or
<filename>rc.d</> directories. Whatever you do, the server must be
run by the <productname>PostgreSQL</productname> user account
<emphasis>and not by root</emphasis> or any other user. Therefore you
@@ -329,7 +329,8 @@ fi
<programlisting>
/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data
</programlisting>
- to <filename>/etc/rc.d/rc.local</filename> or look at the file
+ to <filename>/etc/rc.d/rc.local</filename>
+ or <filename>/etc/rc.local</filename> or look at the file
<filename>contrib/start-scripts/linux</filename> in the
<productname>PostgreSQL</productname> source distribution.
</para>