fixed a nil check issue

This commit is contained in:
2025-10-08 14:29:32 +09:00
parent 437ab8ccef
commit f9e3030268
3 changed files with 6 additions and 5 deletions

View File

@ -63,6 +63,7 @@ chan_loop:
//signal.Reset(syscall.SIGTERM)
signal.Stop(sighup_chan)
signal.Stop(sigterm_chan)
signal.Ignore(syscall.SIGHUP, syscall.SIGTERM, os.Interrupt)
}
func (sh *signal_handler) StartService(data interface{}) {