Github user dch commented on a diff in the pull request:

    https://github.com/apache/couchdb-documentation/pull/69#discussion_r80014081
  
    --- Diff: src/install/unix.rst ---
    @@ -230,9 +234,55 @@ CouchDB no longer ships with any daemonization scripts.
     The couchdb team recommends `runit <http://smarden.org/runit/>`_ to
     run CouchDB persistently and reliably. Configuration of runit is
     straightforward; if you have questions, reach out to the CouchDB
    -user mailing list.
    +user mailing list or IRC-channel #couchdb in FreeNode network.
    +
    +Let's consider configuring of runit on Ubuntu 16.04. The following
    +steps should be considered only as an example. Some details can vary
    +on different systems and versions of Ubuntu Linux.
    +
    +Install ruinit::
    +
    +    sudo apt-get install runit
    +   
    +Create a directory where logs will be written::
    +
    +    sudo mkdir /var/log/couchdb
    +    sudo chown couchdb:couchdb /var/log/couchdb
    +   
    +Create directories that will contain runit counfiguration for CouchDB::
    +
    +    sudo mkdir /etc/sv/couchdb
    +    sudo mkdir /etc/sv/couchdb/log
    +   
    +Create /etc/sv/couchdb/log/run script::
    +
    +    #!/bin/sh
    +    exec svlogd -tt /var/log/couchdb
    --- End diff --
    
    Thanks for the updated docs as well as the very specific examples! I'm sure 
this will be very useful.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to