couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Chiverton>
Subject Re: su vs sudo in init script
Date Fri, 02 Oct 2015 09:07:38 GMT
On 30/09/15 09:27, Robert Newson wrote:
> I strongly advise returning to su but adding a cd call to somewhere 
> couchdb can read. 

I reviewed the init script CouchDb is shipping.

It declares
which is where the .pid file lives

But the home dir of the couchdb user is /usr/local/var/lib/couchdb (this 
is where the .couch files are)

There is no 'cd' command in the script.

I think CouchDd would need to add a new variable (for the lib dir) to 
the script, and then be sure to cd to that in run_command().

If that sounds like a plan I'll write up an issue.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message