svn commit: r488025 - in head/databases/couchdb2: . files

Dave Cottlehuber dch at FreeBSD.org
Fri Dec 21 20:51:20 UTC 2018


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 at gmail.com>
  Reviewed by:	Reshad Patuck <reshadpatuck1 at 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
+ 


More information about the svn-ports-all mailing list