code: func (p *Plugin) NewProcessFromTemplate(tmp *process.Template) ProcessInstance {
  	newTmpPr, err := p.templateToProcess(tmp)
  	if err != nil {
  		p.Log.Errorf("cannot create a process from template: %v", err)
  		return nil
  	}
  	p.processes = append(p.processes, newTmpPr)
  
  	go newTmpPr.watch()
  
  	return newTmpPr
  }
docs: // NewProcessFromTemplate creates a new process from template file