You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by Aditya Agustyana <ad...@gmail.com> on 2011/01/26 01:39:24 UTC

how to run couchdb-lucene as a Daemon

hi folks

i've executed /bin/run via ssh
and couchdb-lucene worked well

however when i closed the terminal, couchdb-lucene no longer work

then i searched to internet and found this
http://japhr.blogspot.com/2010/02/initd-script-for-couchdb-lucene.html, i
changed the COUCHDB_LUCENE_DIR put that script to /etc/init.d and executed
it, but it simply didn't work

i know nothing about Java & Bash Script, so i'm not sure how to make
./bin/run as a Daemon or at least it don't die when i close terminal

i use
ubuntu 10.10
couchdb 1.0.1
couchdb-lucene 0.6.0

regards


Aditya

-- 
profile : http://about.me/aditya.agustyana
ym / twitter : kirconboy
skype : adit_skype

Be Nice. Treat others with the same respect you'd want them to treat you.
We're all here to learn together.  Be tolerant of others who may not know
everything you know. BRING YOUR SENSE OF HUMOR (stackoverflow.com)

Re: how to run couchdb-lucene as a Daemon

Posted by Robert Newson <ro...@gmail.com>.
Hi,

There's an init.d script in src/main/tools/etc/init.d/couchdb-lucene
that should work for you.

Obviously the main thing is that you don't execute c-l directly. In
the case of the above script it asks start-stop-daemon to do it (which
should work on Debian and Ubuntu systems at least).

I've used runit successfully too.

B.

On Wed, Jan 26, 2011 at 12:39 AM, Aditya Agustyana
<ad...@gmail.com> wrote:
> hi folks
>
> i've executed /bin/run via ssh
> and couchdb-lucene worked well
>
> however when i closed the terminal, couchdb-lucene no longer work
>
> then i searched to internet and found this
> http://japhr.blogspot.com/2010/02/initd-script-for-couchdb-lucene.html, i
> changed the COUCHDB_LUCENE_DIR put that script to /etc/init.d and executed
> it, but it simply didn't work
>
> i know nothing about Java & Bash Script, so i'm not sure how to make
> ./bin/run as a Daemon or at least it don't die when i close terminal
>
> i use
> ubuntu 10.10
> couchdb 1.0.1
> couchdb-lucene 0.6.0
>
> regards
>
>
> Aditya
>
> --
> profile : http://about.me/aditya.agustyana
> ym / twitter : kirconboy
> skype : adit_skype
>
> Be Nice. Treat others with the same respect you'd want them to treat you.
> We're all here to learn together.  Be tolerant of others who may not know
> everything you know. BRING YOUR SENSE OF HUMOR (stackoverflow.com)
>