3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-15 08:29:31 +01:00
ergo/irc/utils/signals.go
2021-09-19 04:02:44 -04:00

22 lines
321 B
Go

//go:build !plan9
// +build !plan9
// Copyright (c) 2020 Shivaram Lingamneni
// released under the MIT license
package utils
import (
"os"
"syscall"
)
var (
// ServerExitSignals are the signals the server will exit on.
ServerExitSignals = []os.Signal{
syscall.SIGINT,
syscall.SIGTERM,
syscall.SIGQUIT,
}
)