X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.nor.wtbts.net (3.203.202.84.customer.cdi.no [84.202.203.3]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nc@alpinelinux.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 1F276DC11BD; Wed, 2 May 2012 08:46:53 +0000 (UTC) Date: Wed, 2 May 2012 10:46:51 +0200 From: Natanael Copa To: Der Tiger Cc: "alpine-devel@lists.alpinelinux.org" Subject: Re: [alpine-devel] Alpine Linux 2.4.0 RC1 is out Message-ID: <20120502104651.3d854a47@ncopa-desktop.nor.wtbts.net> In-Reply-To: <4F9E720A.8030109@arcor.de> References: <20120427201155.7a809e37@alpinelinux.org> <4F9E720A.8030109@arcor.de> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.10; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 30 Apr 2012 13:05:46 +0200 Der Tiger wrote: > Hi Natanael, > > Nicely done! kernel 3.3.3 8-) , dhcpd, dhcpcd, bind and asterisk 10.3 > are running smoothly. > > Since I am currently busy working on another package, I'd like to ask > you to apply the patch stated below in order to prevent mini_httpd > from crashing during boot. I am new to GIT and still figuring out how > to commit properly. Meanwhile, I'll have to rely on your help. > > Thanks! Kind Regards, Tiger > > --- /etc/init.d/mini_httpd > +++ /etc/init.d/mini_httpd > @@ -4,6 +4,7 @@ > # $Header: > /var/cvsroot/gentoo-x86/www-servers/mini_httpd/files/mini_httpd.init,v > 1.2 2007/08/26 21:20:21 bangert Exp $ > pidfile=/var/run/mini_httpd/${SVCNAME}.pid > +logfile=/var/log/mini_httpd/${SVCNAME}.log > depend() { > need net > @@ -12,9 +13,11 @@ > start() { > ebegin "Starting $SVCNAME" > + checkpath -d ${pidfile%/*} > + checkpath -d ${logfile%/*} > start-stop-daemon --quiet --start --exec /usr/sbin/mini_httpd \ > --pidfile $pidfile -- -i $pidfile \ > - ${MINI_HTTPD_OPTS:--C /etc/${SVCNAME}.conf -l > /var/log/mini_httpd/${SVCNAME}.log} > + ${MINI_HTTPD_OPTS:--C /etc/${SVCNAME}.conf -l $logfile} > eend $? > } I'm gonna resolve this in slightly different way. I will fish out the log file from mini_httpd.conf with awk. I will also move the config to /etc/mini_httpd/mini_httpd.conf (using pre-install/upgrade scripts and create compat symlink so upgraders won't notice anything) Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---