From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Tue, 1 Jul 2003 12:52:15 +0300 From: Aleksandr Blokhin To: ALT Devel discussion list Subject: =?KOI8-R?B?UmU6IFtkZXZlbF0gWm9wZSAyLjYuMS4g79vJwsvBINcgIC9ldGMvaW5pdC5kL3pvcGU=?= Message-Id: <20030701125215.170ccede.sass@uustoll.ee> In-Reply-To: <3F014EA8.3010105@l14.ru> References: <3F014EA8.3010105@l14.ru> X-Mailer: stuphead ver. 0.5.5 (Alternative-cvs) (GTK+ 1.2.10; Linux 2.4.20-alt7-up; i686) Mime-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 09:52:13 -0000 Archived-At: List-Archive: List-Post: On Tue, 01 Jul 2003 13:04:40 +0400 "avl@l14.ru" wrote: Это от какого Zope? Если из Дедала, то я могу внести изменения. A> В срипте zope допущено две ошибки из за которых сервис не гасится, A> если A> сайт находится не в /var/lib/zope/instance A> Майнтайнера сейчас нет, так что кидаю патч сюда. Неплохо бы его A> приложить. A> --- zope.orig 2003-07-01 11:59:38 +0400 A> +++ zope 2003-07-01 12:00:27 +0400 A> @@ -31,9 +31,9 @@ A> fi A> if [ "$ZOPE_DEBUG" == 1 ] ; then A> - start_daemon --no-announce --pidfile A> %{INSTANCE_HOME}/var/Z2.pid --name /usr/bin/python2.2 -- A> /usr/bin/python A> $Z2 $LC $trace $ZOPE_OPTIONS -u $user -P $port -t $threads -l A> /var/log/zope.$1.log ">&" $ZOPE_STDOUT A> + start_daemon --no-announce --pidfile A> ${INSTANCE_HOME}/var/Z2.pid --name /usr/bin/python2.2 -- A> /usr/bin/python A> $Z2 $LC $trace $ZOPE_OPTIONS -u $user -P $port -t $threads -l A> /var/log/zope.$1.log ">&" $ZOPE_STDOUT A> else : A> - start_daemon --no-announce --pidfile A> %{INSTANCE_HOME}/var/Z2.pid --name /usr/bin/python2.2 -- A> /usr/bin/python A> $Z2 $LC $trace $ZOPE_OPTIONS -u $user -P $port -t $threads -l A> /var/log/zope.$1.log ">&" $ZOPE_STDOUT A> + start_daemon --no-announce --pidfile A> ${INSTANCE_HOME}/var/Z2.pid --name /usr/bin/python2.2 -- A> /usr/bin/python A> $Z2 $LC $trace $ZOPE_OPTIONS -u $user -P $port -t $threads -l A> /var/log/zope.$1.log ">&" $ZOPE_STDOUT A> fi A> RETVAL=$? A> @@ -126,7 +126,7 @@ A> . /etc/sysconfig/zope_default A> . /etc/sysconfig/zope/$1 A> - stop_daemon --no-announce --pidfile A> /var/lib/zope/$1/var/Z2.pid A> -TERM /usr/bin/python2.2 A> + stop_daemon --no-announce --pidfile A> ${INSTANCE_HOME}/var/Z2.pid A> -TERM /usr/bin/python2.2 A> RETVAL=$? A> echo A> [ $RETVAL -eq 0 ] && rm -f "$LOCKFILE" A> _______________________________________________ A> Devel mailing list A> Devel@altlinux.ru A> http://altlinux.ru/mailman/listinfo/devel -- Best regards AB ___________________________________________________________________ Свойство патчей "отваливаться в случае изменений" - это важное преимущество, а вовсе не недостаток, как полагают многие. -- ldv in devel@ >>From avl@l14.ru Tue Jul 1 14:08:07 2003 Return-Path: Delivered-To: devel@lrn.ru Received: from master.altlinux.ru (master.altlinux.ru [62.118.250.235]) by lrn.ru (Postfix) with ESMTP id 7097B48075 for ; Tue, 1 Jul 2003 14:08:07 +0400 (MSD) Received: from mail.ric.cad.ru (unknown [213.33.212.62]) by master.altlinux.ru (Postfix) with ESMTP id EB81FE31CF for ; Tue, 1 Jul 2003 14:08:06 +0400 (MSD) Received: from l14.ru (avl.ric [192.168.1.5]) by mail.ric.cad.ru (Postfix) with ESMTP id A1992419532 for ; Tue, 1 Jul 2003 14:08:03 +0400 (MSD) Message-ID: <3F015D83.8020702@l14.ru> Date: Tue, 01 Jul 2003 14:08:03 +0400 From: "avl@l14.ru" User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru-RU; rv:1.2.1) Gecko/20030210 X-Accept-Language: ru-ru, en MIME-Version: 1.0 To: ALT Devel discussion list Subject: Re: [devel] Zope 2.6.1. =?KOI8-R?Q?=EF=DB=C9=C2=CB=C1_=D7__?= =?KOI8-R?Q?/etc/init=2Ed/zope?= References: <3F014EA8.3010105@l14.ru> <20030701125215.170ccede.sass@uustoll.ee> In-Reply-To: <20030701125215.170ccede.sass@uustoll.ee> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: devel@altlinux.ru X-Mailman-Version: 2.1.1 Precedence: list Reply-To: ALT Devel discussion list List-Id: ALT Devel discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2003 10:08:08 -0000 Aleksandr Blokhin пишет: >On Tue, 01 Jul 2003 13:04:40 +0400 >"avl@l14.ru" wrote: > >Это от какого Zope? >Если из Дедала, то я могу внести изменения. > > да. это от последняя сборка Zope-2.6.1-alt0.6.src.rpm в дедале в сизифе 2.5.1 и я ее вообще не трогал.