avalon-phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 8649] - Add start/stop Phoenix Scripts
Date Mon, 08 Jul 2002 02:57:40 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8649>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8649

Add start/stop Phoenix Scripts





------- Additional Comments From jeff@socialchange.net.au  2002-07-08 02:57 -------
A slightly less evil script that won't clobber other Phoenix instances:

#!/bin/sh
PH_HOME=`dirname $PWD`
{
echo "Shutting down Phoenix in $PH_HOME"
ps -ef | grep java.*-Dphoenix.home=$PH_HOME | awk '{print $2}' | xargs kill -9
} >> $PH_HOME/logs/phoenix.log 2>&1
echo "Shut down phoenix"


--Jeff

--
To unsubscribe, e-mail:   <mailto:avalon-phoenix-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-phoenix-dev-help@jakarta.apache.org>


Mime
View raw message