func NewService(name string, conf common.Conf) *Service { if conf.InitDir == "" { conf.InitDir = InitDir } return &Service{Name: name, Conf: conf} }