thrift server generate sh