couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: Running couchdb remotely (from an interactive shell)
Date Wed, 12 Dec 2012 13:59:27 GMT
CouchDB includes a script to launch it as a daemon, a standard init.d
script. I'm confused why you'd ssh to a machine, run couchdb in the
foreground, and log off.


On 12 December 2012 13:34, Wayne Conrad <wconrad@yagni.com> wrote:
> On 12/11/2012 11:53 AM, Nestor Urquiza wrote:
>> As other users have asked in the past to this list couchdb will not
>> run from a remote interactive shell but rather it will be killed when
>> the ssh session terminates. The command nohup can help with that. Here
>> is what I did (which works OK):
>
> Terminal multiplexors like screen and tmux are very good for "I want to
> start a non-daemon, disconnect, and come back later to see what happened."
>
> Here's how it works with screen:
>
> log on
> $ screen
> $ (enter log running command)
> type control-a d to detach the screen session
> log off
>
> later...
>
> log into the remote system
> $ screen -r
>
> and you'll be back in your long running program's term, including any output
> the program printed while you were gone.
>
> Best Regards,
> Wayne Conrad

Mime
View raw message