MM-14827 don't kill STDOUT for the server process (#10828)
Этот коммит содержится в:
коммит произвёл
Ben Schumacher
родитель
50e97bd9d3
Коммит
98f7bdcb43
@@ -91,7 +91,7 @@ func runServer(configStore config.Store, disableConfigWatch bool, usedPlatform b
|
||||
|
||||
// wait for kill signal before attempting to gracefully shutdown
|
||||
// the running service
|
||||
signal.Notify(interruptChan, os.Interrupt, syscall.SIGINT, syscall.SIGTERM)
|
||||
signal.Notify(interruptChan, os.Interrupt, syscall.SIGINT, syscall.SIGTERM, syscall.SIGPIPE)
|
||||
<-interruptChan
|
||||
|
||||
return nil
|
||||
|
||||
Ссылка в новой задаче
Block a user