Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jan 2012 16:39:01 +0100
From:      =?UTF-8?B?SGVyYnkgVm9qxI3DrWs=?= <herby@mailbox.sk>
To:        till@php.net
Cc:        ports@FreeBSD.org
Subject:   FreeBSD Port: couchdb-1.1.0_2,1
Message-ID:  <4F183915.3020304@mailbox.sk>

next in thread | raw e-mail | index | archive | help
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 
it 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=${name}_prestart
---
 > #start_precmd=${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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F183915.3020304>