mirror of https://github.com/ehang-io/nps
commit
72e10ced88
|
@ -159,7 +159,7 @@ type nps struct {
|
||||||
|
|
||||||
func (p *nps) Start(s service.Service) error {
|
func (p *nps) Start(s service.Service) error {
|
||||||
_, _ = s.Status()
|
_, _ = s.Status()
|
||||||
_ = p.run()
|
go p.run()
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (p *nps) Stop(s service.Service) error {
|
func (p *nps) Stop(s service.Service) error {
|
||||||
|
|
Loading…
Reference in New Issue