svn commit: r385341 - in head/textproc/elasticsearch: . files
Jimmy Olgeni
olgeni at FreeBSD.org
Sun May 3 19:44:08 UTC 2015
Author: olgeni
Date: Sun May 3 19:44:06 2015
New Revision: 385341
URL: https://svnweb.freebsd.org/changeset/ports/385341
Log:
Fix pidfile check when jps does not return full process information.
PR: 197595 (comment)
Submitted by: cheffo at freebsd-bg.org
Modified:
head/textproc/elasticsearch/Makefile
head/textproc/elasticsearch/files/elasticsearch.in
Modified: head/textproc/elasticsearch/Makefile
==============================================================================
--- head/textproc/elasticsearch/Makefile Sun May 3 19:40:34 2015 (r385340)
+++ head/textproc/elasticsearch/Makefile Sun May 3 19:44:06 2015 (r385341)
@@ -3,6 +3,7 @@
PORTNAME= elasticsearch
PORTVERSION= 1.5.1
+PORTREVISION= 1
CATEGORIES= textproc java devel
MASTER_SITES= http://download.elasticsearch.org/${PORTNAME}/${PORTNAME}/ \
http://mirrors.rit.edu/zi/
Modified: head/textproc/elasticsearch/files/elasticsearch.in
==============================================================================
--- head/textproc/elasticsearch/files/elasticsearch.in Sun May 3 19:40:34 2015 (r385340)
+++ head/textproc/elasticsearch/files/elasticsearch.in Sun May 3 19:44:06 2015 (r385341)
@@ -122,7 +122,7 @@ elasticsearch_check_pidfile() {
debug "pid file ($_pidfile): no pid in file."
return
fi
- if [ -n "`%%LOCALBASE%%/bin/jps -l | grep -e "^$_pid org.elasticsearch.bootstrap.Elasticsearch\$"`" ]; then
+ if [ -n "`%%LOCALBASE%%/bin/jps -l | grep -e "^$_pid"`" ]; then
echo -n $_pid
fi
}
More information about the svn-ports-all
mailing list