mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Solaris startup cleanup from Justin Clift
This commit is contained in:
parent
f905d65ee3
commit
f83f740a13
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$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
|
|||||||
|
|
||||||
<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>
|
||||||
|
Loading…
Reference in New Issue
Block a user