Re: Where is /etc/init.d - Mailing list pgsql-general

From Michael Meskes
Subject Re: Where is /etc/init.d
Date
Msg-id 20020210092629.GB10676@feivel.fam-meskes.de
Whole thread Raw
In response to Where is /etc/init.d  (Mayan <escalante@canada.com>)
List pgsql-general
On Sat, Feb 09, 2002 at 05:07:44PM -0500, Mayan wrote:
> I did locate the file that does this operation under the '../contrib'
> subdirectory of the .../postgresql-7.1.3 tree. However, the notes in the
> 'linux' file indicate that I should place this file in the
> 'etc/init.d/postgresql'. The problem I have is that the
> '...init.d/posgresql' does not exist in my Debian's '/etc' directory

Wait a moment, you mean you do not have /etc/init.d? That surely should
exists.

My start-up script is

mme@feivel:~$ stat /etc/init.d/postgresql
  File: "/etc/init.d/postgresql"
  Size: 1819            Blocks: 4          IO Block: 4096   Regular File
Device: 305h/773d       Inode: 41055       Links: 1
Access: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: Sun Feb 10 09:50:31 2002
Modify: Wed Jan  9 12:23:42 2002
Change: Sun Feb  3 11:50:26 2002

on a Debian Woody system using Postgresql 7.1.3-7 i.e. the Debian package.

I'm not sure why you try installing from source, but if you do I'd recommend
grabbing the Debian package sources and going from there. Then you can
create your own package file that fits into the system nicely.

Michael
--
Michael Meskes
Michael@Fam-Meskes.De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

pgsql-general by date:

Previous
From: Michael Meskes
Date:
Subject: Re: Where is /etc/init.d
Next
From: Weiping He
Date:
Subject: what's the meaning of the word "Tioga" in source