HELP! Java based program on boot

Hi all,

I have decided to move from Debian to FreeBSD recently and now I am evaluating FreeBSD 9.0 RELEASE on a VM.

So far I was sucessful on intalling:

OpenJDK
ImageMagick
Libreoffice-legacy (Libreoffice gave me error for some reason so decided to install legacy and all good)
MySQL
Apache22
Mediatomb
OpenKM

I have couple of issues which I need your help to solve.

1. OpenKM is a java based program which I need to start at boot (rc.d). But when I boot the VM the startup program gives me en error saying java not found?

2. Currently I start soffice as a service to accept socket connections on localhost, but when I put the rc_flags it does not recognise it so I created another sofficex.sh file to run soffice with arguments and rc.d only call the sofficex.sh when boot.
Is there a sample script available for starting soffice as a service at boot.

How can I solve these two issues.

Thanks in advance for your help.

Cheers,
 
Back
Top