echo "Start '$INS' successfully."
else
echo "Start '$INS' failed."
fi
else
echo "No redis named '$INS' to start."
fi
shift
done
fi
;;
status)
if [ $# -eq 1 ]; then
status
else
echo "Usage: `/bin/basename $0` status"
fi
;;
*)
echo "Usage: `/bin/basename $0` status |start [redis-n1]... |stop [redis-n1]..."
;;
esac