github.com/decred/politeia@v1.4.0/politeiawww/cmd/politeiavoter/signal_syscall.go (about) 1 // Copyright (c) 2019-2022 The Decred developers 2 // Use of this source code is governed by an ISC 3 // license that can be found in the LICENSE file. 4 // 5 //go:build windows || aix || android || darwin || dragonfly || freebsd || hurd || illumos || ios || linux || netbsd || openbsd || solaris 6 // +build windows aix android darwin dragonfly freebsd hurd illumos ios linux netbsd openbsd solaris 7 8 package main 9 10 import ( 11 "syscall" 12 ) 13 14 func init() { 15 interruptSignals = append(interruptSignals, syscall.SIGTERM) 16 }