From owner-freebsd-ports@FreeBSD.ORG Fri Jan 20 15:17:43 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4E5F41065677 for ; Fri, 20 Jan 2012 15:17:43 +0000 (UTC) (envelope-from klimpong@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1297F8FC2B for ; Fri, 20 Jan 2012 15:17:42 +0000 (UTC) Received: by obcwo16 with SMTP id wo16so1302515obc.13 for ; Fri, 20 Jan 2012 07:17:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=Z0VF5gIKqJISqO7dPtowBBLyDRUVcPWoPjfrzWRzb0s=; b=jiA9g3iEecJQzjMtrOqBOtkOTlsdF/qy3AlhTFlgHfe3Nfs4FVEKG2lQBVGeFIpMWT gWVXAq4KlbgHL/BB2L+s5PiDd8Iin03HbluzfYW2bDe8P+qYncdKVYaNBVMFeqI28bsd Bk+LCg51EUh6lHJM2u0C/Vt38fLFLf2Av7law= MIME-Version: 1.0 Received: by 10.182.132.105 with SMTP id ot9mr27082486obb.34.1327070932785; Fri, 20 Jan 2012 06:48:52 -0800 (PST) Sender: klimpong@gmail.com Received: by 10.60.52.2 with HTTP; Fri, 20 Jan 2012 06:48:52 -0800 (PST) In-Reply-To: <4F183915.3020304@mailbox.sk> References: <4F183915.3020304@mailbox.sk> Date: Fri, 20 Jan 2012 15:48:52 +0100 X-Google-Sender-Auth: CBnwFOh1B05xbV3WJUyy1JUVKcs Message-ID: From: till To: =?UTF-8?B?SGVyYnkgVm9qxI3DrWs=?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: Re: FreeBSD Port: couchdb-1.1.0_2,1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: till@php.net List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 15:17:43 -0000 Can you send me a unified diff and a PR. I'll take a look. I tested this prior to the commit. Which version of FreeBSD are you using? On Thu, Jan 19, 2012 at 4:39 PM, Herby Voj=C4=8D=C3=ADk = wrote: > Hello, > > the latest change made rc.d script not working. When run from the cli as > /usr/local/etc/rc.d/couchdb start, it begins writing to the terminal and > hangs there, not returning to the prompt. Ctrl+C must be issued to stop i= t > and return to the prompt. > > While hanged, ps ax run in parallel session shows couchdb is started, but > with no flags whatsoever (sh -c "/usr/local/bin/couchdb "). > > The couchdb_prestart function gets run (I put echos in there), but its > couchdb_flags is not taken into account. > > I had to make this change: > > 60c60,61 > < start_precmd=3D${name}_prestart > --- > > #start_precmd=3D${name}_prestart > > case "$1" in *start) couchdb_prestart;; esac > > to make it work. When run during boot, it has the same symptoms (runs the > couchdb without flags) and also needs the change above. > > Herby >