Re: init script for pgpool

Поиск
Список
Период
Сортировка
От Jeff Frost
Тема Re: init script for pgpool
Дата
Msg-id FD559878-19B3-4E6C-B944-FC8069FBDE27@pgexperts.com
обсуждение исходный текст
Ответ на Re: init script for pgpool  (Andrew N Golovkov <andor000@ya.ru>)
Ответы Re: init script for pgpool  (Andrew N Golovkov <andor000@ya.ru>)
Список pgsql-pkg-yum
http://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob_plain;f=rpm/redhat/9.2/pgpool-II/EL-6/pgpool.init;hb=jf/pgpool_fixes_3

> On Sep 18, 2015, at 12:23 PM, Andrew N Golovkov <andor000@ya.ru> wrote:
>
> You load /etc/sysconfig/pgpool file _before_ you set variables like PGPOOLUSER and other.
> Also you set PGPOOLUSER but run commands with hardcoded `postgres' user:
>> $SU -l postgres -c "$PGPOOLDAEMON -f $PGPOOLCONF $OPTS & " >> "$PGPOOLLOG" 2>&1 < /dev/null
>
> Please, look at my script i'v posted today.
>
> 18.09.2015, 20:17, "Jeff Frost" <jeff@pgexperts.com>:
>> Nice catch! I found a couple other things as well, so here’s an updated version:
>>
>>
http://git.postgresql.org/gitweb/?p=pgrpms.git;a=blob_plain;f=rpm/redhat/9.2/pgpool-II/EL-6/pgpool.init;hb=jf/pgpool_fixes_3
>>
>> It seems to work in my vagrant, so let me know if it works for you and I’ll get it merged, then the next time we
build,we’ll have it in the repo. 
>>
>>>  On Sep 18, 2015, at 5:40 AM, Andrew N Golovkov <andor000@ya.ru> wrote:
>>>
>>>  You forget $pidfile and $PGPOOLUSER and some more comments.
>>>
>>>  Check script in attach. I'm tested in my centos-6 and pgpool-II-92.<pgpool.init>
>>>  --
>>>  Sent via pgsql-pkg-yum mailing list (pgsql-pkg-yum@postgresql.org)
>>>  To make changes to your subscription:
>>>  http://www.postgresql.org/mailpref/pgsql-pkg-yum
>>
>> ---
>> Jeff Frost <jeff@pgexperts.com>
>> CTO, PostgreSQL Experts, Inc.
>> Phone: 1-888-PG-EXPRT x506
>> FAX: 415-762-5122
>> http://www.pgexperts.com/

---
Jeff Frost <jeff@pgexperts.com>
CTO, PostgreSQL Experts, Inc.
Phone: 1-888-PG-EXPRT x506
FAX: 415-762-5122
http://www.pgexperts.com/





В списке pgsql-pkg-yum по дате отправления:

Предыдущее
От: Andrew N Golovkov
Дата:
Сообщение: Re: init script for pgpool
Следующее
От: Jeff Frost
Дата:
Сообщение: Re: init script for pgpool