DockerCLI/cmd/docker/internal/signals/signals_unix.go

15 lines
263 B
Go

//go:build unix
// +build unix
package signals
import (
"os"
"golang.org/x/sys/unix"
)
// TerminationSignals represents the list of signals we
// want to special-case handle, on this platform.
var TerminationSignals = []os.Signal{unix.SIGTERM, unix.SIGINT}