Commit f83f740a authored by Bruce Momjian's avatar Bruce Momjian

Solaris startup cleanup from Justin Clift

parent f905d65e
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.63 2001/05/04 23:11:37 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.64 2001/05/07 15:55:27 momjian Exp $
--> -->
<Chapter Id="runtime"> <Chapter Id="runtime">
...@@ -254,11 +254,14 @@ fi ...@@ -254,11 +254,14 @@ fi
<listitem> <listitem>
<para> <para>
On <productname>Solaris</productname>, edit the file On <productname>Solaris</productname>, create a file called
<filename>rc2.d</filename> to contain the following single line: <filename>/etc/init.d/postgresql</filename> to contain the following
single line:
<programlisting> <programlisting>
su - postgres -c "/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data" su - postgres -c "/usr/local/pgsql/bin/pg_ctl start -l logfile -D /usr/local/pgsql/data"
</programlisting> </programlisting>
Then, create a symlink to it in <filename>/etc/rc3.d</> as
<literal>S99postgresql</>.
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment