Send message on dev mode SIGHUP so it doesn't just appear to have been swallowed

pull/2674/head
Jeff Mitchell 3 years ago
parent 5b162a4433
commit 66dc82a7ba

@ -900,6 +900,9 @@ func (c *Command) Run(args []string) int {
shutdownTriggerCount++
runShutdownLogic()
case <-c.SighupCh:
c.UI.Output("==> Boundary dev environment does not support configuration reloading, taking no action")
case <-c.SigUSR2Ch:
buf := make([]byte, 32*1024*1024)
n := runtime.Stack(buf[:], true)

Loading…
Cancel
Save