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 <[email protected]> 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
