aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2012-12-15 14:29:38 +0000
committerDima Panov <fluffy@FreeBSD.org>2012-12-15 14:29:38 +0000
commit15627b3a8e8109c8a7494e3e318caddac10d5289 (patch)
treec1e978e9f8febbc6910cd4ecaa67c38363e53136 /java
parentd2ad6aa1926b9043c8cf780765267e12c4fcf877 (diff)
downloadports-15627b3a8e8109c8a7494e3e318caddac10d5289.tar.gz
ports-15627b3a8e8109c8a7494e3e318caddac10d5289.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/jboss71/files/jboss71.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/jboss71/files/jboss71.in b/java/jboss71/files/jboss71.in
index 268c29a38934..f8f01ec4227f 100644
--- a/java/jboss71/files/jboss71.in
+++ b/java/jboss71/files/jboss71.in
@@ -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
}