[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Howto start postgressql at boot time



On Wednesday 09 March 2005 03:29, Siju George wrote:
> Hi all,
>
> I installed Postgres 8.0.1 on a Debian Woody 3.0r2 from source
>
> I followed
>
>
> ./configure
> gmake
> su
> gmake install
> adduser postgres
> mkdir /usr/local/pgsql/data
> chown postgres /usr/local/pgsql/data
> su - postgres
> /usr/local/pgsql/bin/initdb -D /usr/local/pgsql/data
> /usr/local/pgsql/bin/postmaster -D /usr/local/pgsql/data >logfile
> 2>&1 & /usr/local/pgsql/bin/createdb test
> /usr/local/pgsql/bin/psql test
>
> It succeeded but how will i make the postgresql start at boot time??
>
>
> could some one please help me???
>
> kind regards
>
> Siju

cp ~postgresql-8.0.1/contrib/start-scripts/linux /etc/init.d/postgresql
Then create the necessary links in your rc directories. I believe there 
is a Debian tool that can do this for you, but I don't remember what it 
is. Maybe someone else knows.

Tom



Reply to: