It works. With command_args, not commands_args, of course :-)
The rc script has another flaw: it can run start multiple times
(but I'd like to have the commands_args fix being published regardless
of multi-start, that is different thing).
Thanks, Herby
Doug Barton wrote:
Can you test the fix
Can you test the fix that I proposed and let us know if it works?
Thanks,
Doug
On 01/21/2012 01:30 AM, Herby Vojčík wrote:
> Whatever, just fix it, please.
>
> Thanks, Herby
>
> Doug Barton wrote:
>> On 01/19/2012 07:39, Herby Vojčík wrote:
>>
>>> The couchdb_prestart function gets run (I pu
Whatever, just fix it, please.
Thanks, Herby
Doug Barton wrote:
On 01/19/2012 07:39, Herby Vojčík wrote:
The couchdb_prestart function gets run (I put echos in there), but its
couchdb_flags is not taken into account.
The proper solution here is almost certainly to change couchdb_flags to
co
On 01/19/2012 07:39, Herby Vojčík wrote:
> The couchdb_prestart function gets run (I put echos in there), but its
> couchdb_flags is not taken into account.
The proper solution here is almost certainly to change couchdb_flags to
commands_args in couchdb_prestart().
> I had to make this change:
till wrote:
Can you send me a unified diff and a PR. I'll take a look.
--- /usr/local/etc/couchdb.old 2012-01-20 16:16:58.0 +0100
+++ /usr/local/etc/rc.d/couchdb 2012-01-19 16:35:09.0 +0100
@@ -57,7 +57,8 @@
couchdb_flags="-b -a ${couchdb_etcdir}/default.ini -a
${couch
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čík wrote:
> Hello,
>
> the latest change made rc.d script not working. When run from the cli as
> /usr/local/etc/rc.d/
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 se