Gentoo Archives: gentoo-user-ru

From: Sergey Kobzar <sergey.kobzar@××××.ru>
To: gentoo-user-ru@l.g.o
Subject: Re: [gentoo-user-ru] Re: [gentoo-user-ru] Два инстанса Sphinx
Date: Mon, 10 Jun 2013 20:29:13
Message-Id: 51B63711.80706@mail.ru
In Reply to: Re: [gentoo-user-ru] Re: [gentoo-user-ru] Два инстанса Sphinx by Sergey Kobzar
1 On 06/10/13 11:20, Sergey Kobzar wrote:
2 > On 06/10/13 04:32, Голубев Александр wrote:
3 >> 10.06.2013, 02:01, "Sergey Kobzar" <sergey.kobzar@××××.ru>:
4 >>> On 06/08/13 14:39, Sergey Popov wrote:
5 >>>
6 >>>> 07.06.2013 16:44, Sergey Kobzar пишет:
7 >>>>> cnffile="/etc/sphinx/sphinx`echo ${SVCNAME} | sed
8 >>>>> 's/searchd//'`.conf"
9 >>>> Лучше заменить на
10 >>>>
11 >>>> cnffile="/etc/sphinx/sphinx${SVCNAME/searchd/}.conf"
12 >>>
13 >>> Первый раз такой синтаксис вижу. Это фитча runscript? Где сожно
14 >>> почитать?
15 >> это фича bash'а, соответственно в man'ах и читать...
16 >> в init-скриптах это не стоит использовать использовать т.к. они должны
17 >> быть sh-совместимые... лучше так:
18 >> cnffile="/etc/sphinx/sphinx${SVCNAME##searchd.}.conf"
19 >
20 > Спасибо :)
21 >
22 >
23 > .
24
25 Засабмитил: https://bugs.gentoo.org/show_bug.cgi?id=472916.
26 Посмотрим как быстро мэинтейнер отреагирует...

Replies

Subject Author
Re: [gentoo-user-ru] Re: [gentoo-user-ru] Два инстанса Sphinx Sergey Kobzar <sergey.kobzar@××××.ru>