diff options
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/zetagrid/files/zetagrid.init | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app-sci/zetagrid/files/zetagrid.init b/app-sci/zetagrid/files/zetagrid.init index 2f174ac1070a..4f1fd2c4a6a3 100644 --- a/app-sci/zetagrid/files/zetagrid.init +++ b/app-sci/zetagrid/files/zetagrid.init @@ -6,6 +6,8 @@ ZETADIR=/opt/zetagrid/ start() { ebegin "Starting zetagrid" cd ${ZETADIR} + JAVA_HOME="/bin/grep -e "JAVA_HOME" /etc/profile.env | sed -e "s/^.*'\(.*\)'$/\1/"" + export PATH=$PATH:$JAVA_HOME/bin ./zeta.sh >/dev/null eend $? "Failed to start zetagrid" } |