Oh yeah. su refused to run CouchDB because I have CouchDB's shell set to /bin/false. The wiki suggests you give the user a shell but I didn't think that was a good idea. So that's my work around :-)
There is probably a better way to do the whole thing but I don't know what it would be... :-) On Sep 29, 2012 12:18 PM, "Noah Slater" <nsla...@tumbolia.org> wrote: > Sorry, I specifically meant providing a shell to the user in the init.d > script. > > On Sat, Sep 29, 2012 at 4:27 PM, Keith Gable <zi...@ignition-project.com > >wrote: > > > Not sure if I follow you. I think build-couchdb is doing the right thing. > > Without GeoCouch it would just require making a user, a group, and a > > directory (or not even that if you aren't doing it for production). With > > GeoCouch, I also have to load GeoCouch in the couchdb script because the > > initscript uses "su" to run it as the user I created, so I can't pass the > > ERL_FLAGS in the environment. > > On Sep 29, 2012 9:43 AM, "Noah Slater" <nsla...@tumbolia.org> wrote: > > > > > > -- > NS >