diff options
author | fluffy <fluffy@FreeBSD.org> | 2012-12-15 22:29:38 +0800 |
---|---|---|
committer | fluffy <fluffy@FreeBSD.org> | 2012-12-15 22:29:38 +0800 |
commit | a79991241cdd87043caf5d0a7564faa4b4eaf5bf (patch) | |
tree | c1e978e9f8febbc6910cd4ecaa67c38363e53136 /java/jboss71 | |
parent | 70693b3e6455d9c17235f5bacd5b7f569c1ef709 (diff) | |
download | freebsd-ports-gnome-a79991241cdd87043caf5d0a7564faa4b4eaf5bf.tar.gz freebsd-ports-gnome-a79991241cdd87043caf5d0a7564faa4b4eaf5bf.tar.zst freebsd-ports-gnome-a79991241cdd87043caf5d0a7564faa4b4eaf5bf.zip |
- Adjust startup script in proper way
Submitted by: maintainer via im
Diffstat (limited to 'java/jboss71')
-rw-r--r-- | java/jboss71/files/jboss71.in | 2 |
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 } |