vspd/signal_unix.go
2022-03-28 16:37:39 +01:00

22 lines
422 B
Go

// Copyright (c) 2016 The btcsuite developers
// Copyright (c) 2021 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.
//go:build darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
package main
import (
"os"
"syscall"
)
func init() {
interruptSignals = []os.Signal{
os.Interrupt,
syscall.SIGTERM,
syscall.SIGHUP,
}
}