Mail archive
alpine-devel

Re: [alpine-devel] Alpine Linux 2.4.0 RC1 is out

From: Natanael Copa <ncopa_at_alpinelinux.org>
Date: Wed, 2 May 2012 10:46:51 +0200

On Mon, 30 Apr 2012 13:05:46 +0200
Der Tiger <der.tiger.alpine_at_arcor.de> 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
> _at_@ -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
> _at_@ -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_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed May 02 2012 - 10:46:51 UTC