github.com/dashpay/godash@v0.0.0-20160726055534-e038a21e0e3d/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  }