lbcd/signalsigterm.go

18 lines
416 B
Go
Raw Normal View History

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