github.com/BlockABC/godash@v0.0.0-20191112120524-f4aa3a32c566/signalsigterm.go (about)

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