bin/couchdb does not honour -o and -e when running in foreground / without -d 
(matters on macosx)
-------------------------------------------------------------------------------------------------

                 Key: COUCHDB-278
                 URL: https://issues.apache.org/jira/browse/COUCHDB-278
             Project: CouchDB
          Issue Type: Bug
          Components: Build System, Database Core
         Environment: any *nix
            Reporter: Florian Ebeling
             Fix For: 0.8.1, 0.9


When couchdb is running in foreground, then the option flags -o and -e are not 
honoured. This probably quite ok on most systems because foregroud there equals 
roughly to development mode. On the mac this is different, because fork and 
daemoinze calls are deprecated, services are managed using launchd, and launchd 
watches these processes directly. It depends on these processes not 
(double-)forking and intentionally dying.

So in the current state of things the provided plist starts couchdb, quite 
consequentially does not use -o/e and. That works, but has the effect that 
couchdb writes to stdout, which launchd apparently forwards to syslog. So the 
syslog ends up being hogged by access-log level messages. And it is not 
possible to avoid that by simply editing the quasi config file .plist.

I will attach a patch which changes bin/couchdb, .plist, and etc/Makefile.am to 
make this work more like I reckon it should.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to