Re: Where is /etc/init.d

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Mayan <escalante(at)canada(dot)com>
Cc: Postgresql Mailing List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Where is /etc/init.d
Date: 2002-02-10 09:26:29
Message-ID: 20020210092629.GB10676@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(at)Fam-Meskes(dot)De
Go SF 49ers! Go Rhein Fire!
Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Michael Meskes 2002-02-10 09:27:09 Re: Where is /etc/init.d
Previous Message Martijn van Oosterhout 2002-02-10 08:10:17 Re: Solaris Performance