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

This commit is contained in:
Jeff Mitchell committed 2022-12-02 13:59:37 -05:00
1 parent 5b162a4433
commit 66dc82a7ba
1 file changed
+3
+3
View File
@@ -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)