diff options
author | Michael Imhof <tantive@gentoo.org> | 2003-01-13 18:57:43 +0000 |
---|---|---|
committer | Michael Imhof <tantive@gentoo.org> | 2003-01-13 18:57:43 +0000 |
commit | 6ea41b47fb65dc7c3b6d0c02825e015c5fa24b95 (patch) | |
tree | 325a0f67ba9c60867e67f3e0d009e9aada8a8c92 /app-sci | |
parent | enable on alpha (diff) | |
download | historical-6ea41b47fb65dc7c3b6d0c02825e015c5fa24b95.tar.gz historical-6ea41b47fb65dc7c3b6d0c02825e015c5fa24b95.tar.bz2 historical-6ea41b47fb65dc7c3b6d0c02825e015c5fa24b95.zip |
Changed startup script to function properly at boot time
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" } |