Christopher Albert wrote:
> 
> elif [ "$1" = "stop" ] ; then
>   shift
>   kill -9 $(cat /var/run/jboss.pid)

Why SIGKILL? Seems a bit harsh.

Also, I'm not sure that $(...) is sh syntax. I suspect it was added by
ksh and adopted by bash. You're almost ceratinly safe on Linux, though.

Toby.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to