Date: Fri, 21 Dec 2018 20:51:19 +0000 (UTC) From: Dave Cottlehuber <dch@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r488025 - in head/databases/couchdb2: . files Message-ID: <201812212051.wBLKpJXL024072@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dch Date: Fri Dec 21 20:51:19 2018 New Revision: 488025 URL: https://svnweb.freebsd.org/changeset/ports/488025 Log: databases/couchdb2: detach stdout from daemon invocation When CouchDB is started whithout a parent tty, for example, via ssh, the daemon invocation retains a connection to stdout, thus blocking disconnection of the ssh command. The Erlang VM provides a `-detach` flag for avoiding this situation. Add additional notes on debugging to the config file to aid users. PR: 234100 Reported by: Reshad Patuck <reshadpatuck1@gmail.com> Reviewed by: Reshad Patuck <reshadpatuck1@gmail.com> Approved by: jrm (mentor) Added: head/databases/couchdb2/files/patch-rel_overlay_etc_vm.args (contents, props changed) Modified: head/databases/couchdb2/Makefile Modified: head/databases/couchdb2/Makefile ============================================================================== --- head/databases/couchdb2/Makefile Fri Dec 21 20:32:04 2018 (r488024) +++ head/databases/couchdb2/Makefile Fri Dec 21 20:51:19 2018 (r488025) @@ -3,7 +3,7 @@ PORTNAME= couchdb2 DISTVERSION= 2.3.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases MASTER_SITES= APACHE/couchdb/source/${DISTVERSION} DISTNAME= apache-couchdb-${DISTVERSION} Added: head/databases/couchdb2/files/patch-rel_overlay_etc_vm.args ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/couchdb2/files/patch-rel_overlay_etc_vm.args Fri Dec 21 20:51:19 2018 (r488025) @@ -0,0 +1,14 @@ +--- rel/overlay/etc/vm.args.orig 2018-12-19 09:30:35 UTC ++++ rel/overlay/etc/vm.args +@@ -43,9 +43,9 @@ + # Start a pool of asynchronous IO threads + +A 16 + +-# Comment this line out to enable the interactive Erlang shell on startup ++# Comment these lines out to enable the interactive Erlang shell on startup + +Bd -noinput +- ++-detached + # Force use of the smp scheduler, fixes #1296 + -smp enable +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812212051.wBLKpJXL024072>