Update nps.go

解决服务无法启动问题,issues #470
This commit is contained in:
wyaode 2020-03-25 09:07:41 +08:00 committed by GitHub
parent f22914c3ad
commit cf58f113c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,7 +159,7 @@ type nps struct {
func (p *nps) Start(s service.Service) error {
_, _ = s.Status()
_ = p.run()
go p.run()
return nil
}
func (p *nps) Stop(s service.Service) error {