Hi list,
Here's a small bedtime contribution. I'm not a shell guru so
suggestions are welcome.
Anyway I find this script to be a fairly good start towards making
things more linux compatible.
#! /bin/sh
VERSION="0.9.2.4"
DFS="kfs"
do_start () {
echo "Starting Hypertable"
/opt/hypertable/${VERSION}/bin/start-all-servers.sh ${DFS}
}
do_stop () {
echo "Stopping Hypertable"
/opt/hypertable/${VERSION}/bin/stop-servers.sh
}
case "$1" in
start)
do_start
;;
restart|reload|force-reload)
do_stop
do_start
;;
stop)
# No-op
do_stop
;;
*)
echo "Usage: $0 start|stop" >&2
exit 3
;;
esac
Mateusz
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Hypertable Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hypertable-dev?hl=en
-~----------~----~----~----~------~----~------~--~---