Обсуждение: Starting Postmaster at boot

Поиск
Список
Период
Сортировка

Starting Postmaster at boot

От
JWDougherty
Дата:
Can someone let me know what files I edit in SuSE 7.2 in order have
Postmaster started when the system boots?

Thanks,
JWDougherty

Re: Starting Postmaster at boot

От
"Josh Berkus"
Дата:


Mr. Dougherty,

> Can someone let me know what files I edit in SuSE 7.2 in order have
> Postmaster started when the system boots?

You need to add an "init" script to your /etc/init.d/ directory. SuSE
RPMs do this themselves, which is why you haven't had to do it before.
If you can hang on for a week, I'll write up the procedure for techdocs
(and supply a SuSE script).

If you're in a hurry, I believe that the paper on installing PostgreSQL,
PHP & Apache already at techdocs.postgresql.org mentions this but does
not go into a lot of detail.

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco

Вложения

Re: Starting Postmaster at boot

От
"Josh Berkus"
Дата:
John,

> Thankyou for the help.  I know about the init script, but I had no
> clues as
> to where it went, what particular part of the bootup process called
> it, or
> what it should contain.  I am not in a hurry.  SuSE's present
> installation in
> 7.2 seems to have problems properly configuring postgresql, which is
> why I
> avoided trying to install it this time around.

Well, a quick primer on Init scripts is available with most general
Linux manuals (e.g. "Linux in a Nutshell").  However, I will tell you
that the init script supplied with the Postgres download dates back to
ver. 6.5 and doesn't work very well anymore.  I've been meaning to post
my init script to TechDocs, but haven't gotten around to it.

As for SuSE, I just this morning returned an e-mail to SuSE sales about
the problem with their lag time in building YAST packages.  SuSE is
hoping that with greater LSB compliance by the whole industry, this
should be less of a problem in the future.  In the meantime, I recommend
compiling PostgreSQL yourself; Justin has an excellent tutorial on this
at http://techdocs.postgresql.org/ .

-Josh

______AGLIO DATABASE SOLUTIONS___________________________
                                       Josh Berkus
  Complete information technology      josh@agliodbs.com
   and data management solutions       (415) 565-7293
  for law firms, small businesses        fax 621-2533
    and non-profit organizations.      San Francisco

Вложения