[Helma-user] helma startup script on FreeBSD

Julian Tree julian.tree at gmail.com
Wed Oct 18 11:31:46 CEST 2006


Is anyone using Helma on FreeBSD?  Anyone has a start up script on  
FreeBSD to share?   I modified  one of the linux start up script on  
the mailing list, but it is not working on freebsd.  I have to  
manually restart helma everything system reboots. Below is my script



===============================

#!/bin/sh
#
# helma
#
# chkconfig:
# description: Start up the Helma
# Source function library.
. /etc/rc.subr

RETVAL=$?

case "$1" in
start)
if [ -f /helma/start.sh ];
then
     echo $"Starting Helma"
     /helma/start.sh&
     fi
;;

stop)
     echo $"Stopping Helma"
     x=`/bin/ps axu | grep launcher.jar`
     set $x
     kill $x
;;
*)
echo $"Usage: $0 {start|stop}"
exit 1
;;
esac
exit $RETVAL



Julian Tree


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://helma.org/pipermail/helma-user/attachments/20061018/8badbfd4/attachment.html 


More information about the Helma-user mailing list