From: Peter Eisentraut Date: Thu, 14 Jul 2011 16:07:39 +0000 (+0300) Subject: Small update on suggested startup file locations X-Git-Tag: REL9_2_BETA1~1412 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a99d45b805ae3ca230d54222fd25a020fcaa6d5c;p=postgresql Small update on suggested startup file locations Debian/Ubuntu don't have a /etc/rc.d/ directory, so add some alternative names as suggestions. --- diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index ef83206bbc..8f85df64da 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 /etc/rc.local or - /etc/rc.d/rc.local. Others use + /etc/rc.d/rc.local. Others use init.d or rc.d directories. Whatever you do, the server must be run by the PostgreSQL user account and not by root or any other user. Therefore you @@ -329,7 +329,8 @@ fi /usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data - to /etc/rc.d/rc.local or look at the file + to /etc/rc.d/rc.local + or /etc/rc.local or look at the file contrib/start-scripts/linux in the PostgreSQL source distribution.