Re: [PATCHES] A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script....
От | Peter Eisentraut |
---|---|
Тема | Re: [PATCHES] A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script.... |
Дата | |
Msg-id | Pine.LNX.4.30.0102041612460.864-100000@peter.localdomain обсуждение исходный текст |
Ответы |
Re: Re: [PATCHES] A Sparc/Linux patch (for 7.1), and a Linux
rc.d/init.d script....
Re: [PATCHES] A Sparc/Linux patch (for 7.1), and a Linux rc.d/init.d script.... |
Список | pgsql-hackers |
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@gmx.net http://yi.org/peter-e/
В списке pgsql-hackers по дате отправления: