Thread: PostgreSQL init script

PostgreSQL init script

From
"Gnanakumar"
Date:
Hi,

Our OS is CentOS5.2.  We're upgrading our PostgreSQL database from v8.2.3 to
v9.0.3.  Is there any default init script available in v9.0.3 for starting
up the PostgreSQL server so that it can be added to "/etc/init.d/"?  I
couldn't find any service file in the installation source directory.  I'm
installing PostgreSQL from source code.  I wonder why postgresql service
file is not available as part of the installation source?

Regards,
Gnanam


Re: PostgreSQL init script

From
Guillaume Lelarge
Date:
Le 30/03/2011 16:13, Gnanakumar a écrit :
> [...]
> Our OS is CentOS5.2.  We're upgrading our PostgreSQL database from v8.2.3 to
> v9.0.3.  Is there any default init script available in v9.0.3 for starting
> up the PostgreSQL server so that it can be added to "/etc/init.d/"?  I
> couldn't find any service file in the installation source directory.  I'm
> installing PostgreSQL from source code.  I wonder why postgresql service
> file is not available as part of the installation source?
>

Look into the contrib/start-scripts/ directory.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

Re: PostgreSQL init script

From
Devrim GÜNDÜZ
Date:
On Wed, 2011-03-30 at 19:43 +0530, Gnanakumar wrote:

> Our OS is CentOS5.2.  We're upgrading our PostgreSQL database from
> v8.2.3 to v9.0.3.  Is there any default init script available in
> v9.0.3 for starting up the PostgreSQL server so that it can be added
> to "/etc/init.d/"?  I couldn't find any service file in the
> installation source directory.  I'm installing PostgreSQL from source
> code.  I wonder why postgresql service file is not available as part
> of the installation source?

See contrib/start-scripts/linux . Init script is not installed by
default.

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org  Twitter: http://twitter.com/devrimgunduz

Attachment