Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Dec 2012 14:29:38 +0000 (UTC)
From:      Dima Panov <fluffy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r308949 - head/java/jboss71/files
Message-ID:  <201212151429.qBFETcqk077346@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fluffy
Date: Sat Dec 15 14:29:38 2012
New Revision: 308949
URL: http://svnweb.freebsd.org/changeset/ports/308949

Log:
  - Adjust startup script in proper way
  
  Submitted by:	maintainer via im

Modified:
  head/java/jboss71/files/jboss71.in

Modified: head/java/jboss71/files/jboss71.in
==============================================================================
--- head/java/jboss71/files/jboss71.in	Sat Dec 15 14:23:56 2012	(r308948)
+++ head/java/jboss71/files/jboss71.in	Sat Dec 15 14:29:38 2012	(r308949)
@@ -46,7 +46,7 @@ JBOSS_HOME="%%APP_HOME%%"
 	daemon -u ${%%APP_SHORTNAME%%_user} ${JBOSS_HOME}/bin/standalone.sh ${%%APP_SHORTNAME%%_logging} >> ${%%APP_SHORTNAME%%_logdir}/boot.log 2>> ${%%APP_SHORTNAME%%_logdir}/boot.log
 
 	sleep 1		# let daemon(8) and sh(1) finish before executing pgrep(1)
-	pgrep -U ${%%APP_SHORTNAME%%_user} -f ${JBOSS_MAIN} > ${pidfile}
+	pgrep -U ${%%APP_SHORTNAME%%_user} -f ${JBOSS_HOME}/modules > ${pidfile}
 	chown ${%%APP_SHORTNAME%%_user} $pidfile
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212151429.qBFETcqk077346>