I adjusted the things according below.
However, now tomcat won't start at all, any idea's why?
It also doesn't print tomcat50 ...
Bye,

Mipam.

> case "$1" in
> start)
> echo -n ' '
> truncate -s 0 /var/run/tomcat50.pid
> chown www:www /var/run/tomcat50.pid
> chmod 600 /var/run/tomcat50.pid
> su -f -m www -c "exec
> /usr/local/jakarta-tomcat5.0/bin/startup.sh" >/dev/null && echo -n
> 'tomcat50'
> # su -f -m www -c "exec /usr/local/bin/tomcat50ctl start"
> >/dev/null && echo -n 'tomcat50'

> ;;
> stop)
> echo -n ' '
> chown www:www /var/run/tomcat50.pid
> chmod 600 /var/run/tomcat50.pid
> su -f -m www -c "exec
> /usr/local/jakarta-tomcat5.0/bin/shutdown.sh" >/dev/null 2>&1 ; echo -n
> 'tomcat50'
> # su -f -m www -c "exec /usr/local/bin/tomcat50ctl stop"
> >/dev/null 2>&1 ; echo -n 'tomcat50'

> ;;
> *)
> echo ""
> echo "Usage: ${MYSELF} { start | stop }"
> echo ""
> exit 64
> ;;
> esac
>

_______________________________________________
freebsd-java@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-java
To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"