github.com/palcoin-project/palcd@v1.0.0/signalsigterm.go (about) 1 // Copyright (c) 2016 The btcsuite developers 2 // Use of this source code is governed by an ISC 3 // license that can be found in the LICENSE file. 4 5 // +build darwin dragonfly freebsd linux netbsd openbsd solaris 6 7 package main 8 9 import ( 10 "os" 11 "syscall" 12 ) 13 14 func init() { 15 interruptSignals = []os.Signal{os.Interrupt, syscall.SIGTERM} 16 }