From f83f740a1379e840ee969b88f39bb57faea4b143 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 7 May 2001 15:55:27 +0000 Subject: [PATCH] Solaris startup cleanup from Justin Clift --- doc/src/sgml/runtime.sgml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/src/sgml/runtime.sgml b/doc/src/sgml/runtime.sgml index f046f1f820d..93806b055c0 100644 --- a/doc/src/sgml/runtime.sgml +++ b/doc/src/sgml/runtime.sgml @@ -1,5 +1,5 @@ @@ -254,11 +254,14 @@ fi - On Solaris, edit the file - rc2.d to contain the following single line: + On Solaris, create a file called + /etc/init.d/postgresql to contain the following + single line: su - postgres -c "/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data" + Then, create a symlink to it in /etc/rc3.d as + S99postgresql.