From: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
---|---|
To: | Ryan Kirkpatrick <pgsql(at)rkirkpat(dot)net> |
Cc: | PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [PATCHES] A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script.... |
Date: | 2001-02-04 15:19:50 |
Message-ID: | Pine.LNX.4.30.0102041612460.864-100000@peter.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Ryan Kirkpatrick writes:
> postgresql -> This is a Linux distribution independent (or so I
> hope) init.d/rc.d script that makes use of pg_ctl. There is currently a
> few in ./contrib/linux of the pgsql source tree, but they are RedHat
> specific. This one is simple and self contained. Might be worth adding to
> the other scripts.
I don't see how this can be more independent if it uses
DAEMON=/home/postgres/bin/pg_ctl
and
LOG="/usr/local/pgsql/server.log"
Nor is
su - postgres sh -c "$DAEMON stop >& /dev/null"
an appropriate way to stop the server in a system shutdown situation.
IMHO, rather than accumulating a bunch of versions that somebody liked
better than the existing ones, why not provide actual scripts from actual
distributions? Generic scripts will just lead to generic problems.
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/
From | Date | Subject | |
---|---|---|---|
Next Message | Kovacs Baldvin | 2001-02-04 15:49:31 | Message of MOVE |
Previous Message | Peter Eisentraut | 2001-02-04 15:10:14 | Re: syslog logging setup broken? |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-02-04 19:26:16 | Re: Re: [PATCHES] A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script.... |
Previous Message | Rick Robino | 2001-02-04 04:44:47 | Re: configure.in patch for readline and curses. |