consul/agent/signal_unix.go

12 lines
148 B
Go

//go:build !windows
// +build !windows
package agent
import (
"os"
"syscall"
)
var forwardSignals = []os.Signal{os.Interrupt, syscall.SIGTERM}